Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 103.8 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002285/0.002285, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 247.8 MB, free: 13.97 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.688/2.688, allocations: 476.7 MB / 0.7611 GB, free: 11.33 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.89 kB / 1.104 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8361/0.838, allocations: 168.7 MB / 1.269 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.00295/0.8409, allocations: 1.412 MB / 1.27 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003766/0.8447, allocations: 2.691 MB / 1.273 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.68e-05/0.8447, allocations: 4 kB / 1.273 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.8466, allocations: 0.5768 MB / 1.273 GB, free: 492 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.504e-05/0.8467, allocations: 23.91 kB / 1.273 GB, free: 468 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.629e-06/0.8467, allocations: 0 / 1.273 GB, free: 468 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.847, allocations: 162.9 kB / 1.273 GB, free: 304 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.773e-05/0.847, allocations: 20.41 kB / 1.273 GB, free: 280 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.826e-05/0.8471, allocations: 67.7 kB / 1.274 GB, free: 212 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.8473, allocations: 75.59 kB / 1.274 GB, free: 136 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.8473, allocations: 4 kB / 1.274 GB, free: 132 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.8485, allocations: 471.3 kB / 1.274 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.272e-05/0.8485, allocations: 39.77 kB / 1.274 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.8487, allocations: 95.42 kB / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007494/0.8494, allocations: 438 kB / 1.275 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.8494, allocations: 3.938 kB / 1.275 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8494, allocations: 0 / 1.275 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.8494, allocations: 0 / 1.275 GB, free: 15.1 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0009545/0.8504, allocations: 0.5603 MB / 1.275 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.8504, allocations: 12.03 kB / 1.275 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.244e-05/0.8505, allocations: 106 kB / 1.275 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001929/0.8507, allocations: 112 kB / 1.275 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.851, allocations: 298.5 kB / 1.276 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.978e-05/0.851, allocations: 154.9 kB / 1.276 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.062e-05/0.8511, allocations: 154.9 kB / 1.276 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.169e-05/0.8512, allocations: 109.5 kB / 1.276 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.01e-05/0.8513, allocations: 79.22 kB / 1.276 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.257e-05/0.8513, allocations: 150.6 kB / 1.276 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.855e-05/0.8514, allocations: 150.6 kB / 1.276 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.31e-05/0.8515, allocations: 158.5 kB / 1.277 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.8519, allocations: 0.5367 MB / 1.277 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.852, allocations: 173.1 kB / 1.277 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.563e-05/0.8521, allocations: 80.14 kB / 1.277 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.8521, allocations: 75.28 kB / 1.277 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.889e-05/0.8522, allocations: 109.8 kB / 1.278 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.8522, allocations: 0 / 1.278 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.000203/0.8524, allocations: 69.38 kB / 1.278 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.971e-05/0.8525, allocations: 126.7 kB / 1.278 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004869/0.8529, allocations: 429.3 kB / 1.278 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.853, allocations: 25.7 kB / 1.278 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.8531, allocations: 136.6 kB / 1.278 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.8531, allocations: 0 / 1.278 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.8532, allocations: 89.67 kB / 1.278 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.8533, allocations: 346.8 kB / 1.279 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.8535, allocations: 88.52 kB / 1.279 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.8537, allocations: 177.2 kB / 1.279 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.8541, allocations: 309.6 kB / 1.279 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.8541, allocations: 0 / 1.279 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005896/0.8547, allocations: 333 kB / 1.28 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.8547, allocations: 7.938 kB / 1.28 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.8547, allocations: 4 kB / 1.28 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.8547, allocations: 3.984 kB / 1.28 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.547e-06/0.8547, allocations: 4 kB / 1.28 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.8547, allocations: 0 / 1.28 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.8549, allocations: 43.73 kB / 1.28 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.8549, allocations: 12 kB / 1.28 GB, free: 9.68 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003274/0.8552, allocations: 253.5 kB / 1.28 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.8553, allocations: 128.7 kB / 1.28 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.872e-05/0.8554, allocations: 111 kB / 1.28 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-05/0.8555, allocations: 184.2 kB / 1.28 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.369e-05/0.8556, allocations: 184.2 kB / 1.28 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.932e-05/0.8557, allocations: 184.2 kB / 1.281 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.8561, allocations: 469.2 kB / 1.281 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-05/0.8561, allocations: 105 kB / 1.281 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.527e-05/0.8562, allocations: 104.9 kB / 1.281 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.082e-05/0.8563, allocations: 184.2 kB / 1.281 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.021e-05/0.8564, allocations: 180.2 kB / 1.282 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.864e-05/0.8565, allocations: 188.3 kB / 1.282 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.853e-05/0.8565, allocations: 176.3 kB / 1.282 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.8567, allocations: 323.8 kB / 1.282 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.8569, allocations: 213.8 kB / 1.283 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.857, allocations: 188.2 kB / 1.283 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.8571, allocations: 105 kB / 1.283 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.953e-05/0.8572, allocations: 184.2 kB / 1.283 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.8573, allocations: 101 kB / 1.283 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003125/0.8576, allocations: 279.1 kB / 1.283 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8576, allocations: 4 kB / 1.283 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004669/0.858, allocations: 79.94 kB / 1.283 GB, free: 5.613 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008209/0.8589, allocations: 0.9715 MB / 1.284 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002489/0.8591, allocations: 116.2 kB / 1.284 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8591, allocations: 4.125 kB / 1.284 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.552e-06/0.8591, allocations: 0 / 1.284 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.8596, allocations: 469.1 kB / 1.285 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/0.8629, allocations: 2.937 MB / 1.288 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.8633, allocations: 0.7782 MB / 1.289 GB, free: 176 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.886e-05/0.8633, allocations: 4 kB / 1.289 GB, free: 172 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.8634, allocations: 51.41 kB / 1.289 GB, free: 120 kB / 0.9825 GB Notification: Performance of SimCode: time 1.002e-06/0.8634, allocations: 0 / 1.289 GB, free: 120 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03189/0.8953, allocations: 6.476 MB / 1.295 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.383/9.278, allocations: 15.27 kB / 1.295 GB, free: 9.785 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.216338464058936]