Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 219.3 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.387/1.387, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.085/3.085, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 67.67 kB / 1.17 GB, free: 19.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3538, allocations: 179 MB / 1.345 GB, free: 15.82 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.00805/0.3618, allocations: 4.672 MB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1642/0.526, allocations: 132.6 MB / 1.479 GB, free: 5.969 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.5272, allocations: 23.81 kB / 1.479 GB, free: 5.945 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008808/0.5281, allocations: 202.2 kB / 1.48 GB, free: 5.746 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002378/0.5305, allocations: 0.5844 MB / 1.48 GB, free: 5.164 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.5329, allocations: 0.8637 MB / 1.481 GB, free: 4.305 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001996/0.5349, allocations: 1.44 MB / 1.482 GB, free: 2.859 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009051/0.5358, allocations: 422.2 kB / 1.483 GB, free: 2.426 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009146/0.5367, allocations: 0.5256 MB / 1.483 GB, free: 1.898 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008555/0.5375, allocations: 0.5251 MB / 1.484 GB, free: 1.371 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003085/0.5379, allocations: 123.9 kB / 1.484 GB, free: 1.25 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.539, allocations: 0.4918 MB / 1.484 GB, free: 0.7578 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003767/0.5393, allocations: 307 kB / 1.485 GB, free: 468 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007036/0.54, allocations: 481.7 kB / 1.485 GB, free: 15.98 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002518/0.5426, allocations: 1.735 MB / 1.487 GB, free: 14.24 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5426, allocations: 0 / 1.487 GB, free: 14.24 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5426, allocations: 4 kB / 1.487 GB, free: 14.24 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.266e-05/0.5426, allocations: 0 / 1.487 GB, free: 14.24 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002842/0.5454, allocations: 1.447 MB / 1.488 GB, free: 12.75 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.5455, allocations: 12.03 kB / 1.488 GB, free: 12.74 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.151e-05/0.5455, allocations: 22.19 kB / 1.488 GB, free: 12.72 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001694/0.5457, allocations: 139.6 kB / 1.488 GB, free: 12.57 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.5472, allocations: 240 kB / 1.489 GB, free: 12.34 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.5486, allocations: 0.7256 MB / 1.489 GB, free: 11.59 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.036e-05/0.5487, allocations: 69.98 kB / 1.489 GB, free: 11.52 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.5489, allocations: 80 kB / 1.49 GB, free: 11.44 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/0.5508, allocations: 1.193 MB / 1.491 GB, free: 10.14 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.5509, allocations: 0 / 1.491 GB, free: 10.14 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.996e-05/0.551, allocations: 39.94 kB / 1.491 GB, free: 10.11 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.551, allocations: 20 kB / 1.491 GB, free: 10.09 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.553, allocations: 1.12 MB / 1.492 GB, free: 8.965 MB / 1.186 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00474/0.5578, allocations: 2.263 MB / 1.494 GB, free: 6.637 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.5595, allocations: 0.7596 MB / 1.495 GB, free: 5.875 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006023/0.5601, allocations: 286.7 kB / 1.495 GB, free: 5.59 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.307e-05/0.5602, allocations: 20.64 kB / 1.495 GB, free: 5.57 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.5612, allocations: 0.6013 MB / 1.496 GB, free: 4.93 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 3.316e-06/0.5612, allocations: 0 / 1.496 GB, free: 4.93 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.00352/0.5647, allocations: 1.138 MB / 1.497 GB, free: 3.781 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.5649, allocations: 196.6 kB / 1.497 GB, free: 3.547 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.5659, allocations: 0.6685 MB / 1.498 GB, free: 2.867 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.5661, allocations: 41.7 kB / 1.498 GB, free: 2.82 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004242/0.5665, allocations: 421 kB / 1.498 GB, free: 2.402 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003248/0.5668, allocations: 281.6 kB / 1.498 GB, free: 2.125 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002933/0.5671, allocations: 138.6 kB / 1.498 GB, free: 1.984 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002157/0.5673, allocations: 398.7 kB / 1.499 GB, free: 1.586 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005919/0.5679, allocations: 249.9 kB / 1.499 GB, free: 1.34 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007521/0.5687, allocations: 491.1 kB / 1.5 GB, free: 0.8047 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.5698, allocations: 0.5877 MB / 1.5 GB, free: 212 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.5698, allocations: 4 kB / 1.5 GB, free: 208 kB / 1.186 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002256/0.5721, allocations: 0.8257 MB / 1.501 GB, free: 15.36 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.5721, allocations: 6.188 kB / 1.501 GB, free: 15.36 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.5721, allocations: 4 kB / 1.501 GB, free: 15.35 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006468/0.5728, allocations: 84.86 kB / 1.501 GB, free: 15.27 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007252/0.5735, allocations: 155.8 kB / 1.501 GB, free: 15.11 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.576, allocations: 1.523 MB / 1.503 GB, free: 13.47 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008317/0.5768, allocations: 95.45 kB / 1.503 GB, free: 13.38 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.5769, allocations: 27.98 kB / 1.503 GB, free: 13.35 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005675/0.5775, allocations: 265.7 kB / 1.503 GB, free: 13.08 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002691/0.5777, allocations: 95.42 kB / 1.503 GB, free: 12.99 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002688/0.5804, allocations: 1.078 MB / 1.504 GB, free: 11.9 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.5804, allocations: 8 kB / 1.504 GB, free: 11.89 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5804, allocations: 0 / 1.504 GB, free: 11.89 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.5805, allocations: 3.984 kB / 1.504 GB, free: 11.89 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.5818, allocations: 0.7662 MB / 1.505 GB, free: 11.08 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.5818, allocations: 0 / 1.505 GB, free: 11.08 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007014/0.5825, allocations: 163.7 kB / 1.505 GB, free: 10.92 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004873/0.583, allocations: 68.8 kB / 1.505 GB, free: 10.85 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.5831, allocations: 27.97 kB / 1.505 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.5852, allocations: 1.543 MB / 1.507 GB, free: 9.152 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5852, allocations: 3.938 kB / 1.507 GB, free: 9.148 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003005/0.5882, allocations: 1.348 MB / 1.508 GB, free: 7.785 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005576/0.5887, allocations: 203 kB / 1.508 GB, free: 7.586 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/0.5889, allocations: 27.94 kB / 1.508 GB, free: 7.559 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000721/0.5896, allocations: 67.98 kB / 1.508 GB, free: 7.492 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.5898, allocations: 68.86 kB / 1.508 GB, free: 7.422 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-05/0.5899, allocations: 35.98 kB / 1.508 GB, free: 7.387 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007295/0.5907, allocations: 487 kB / 1.509 GB, free: 6.914 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5907, allocations: 0 / 1.509 GB, free: 6.914 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00101/0.5917, allocations: 335.1 kB / 1.509 GB, free: 6.586 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005363/0.597, allocations: 2.43 MB / 1.512 GB, free: 4.336 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00197/0.599, allocations: 0.7765 MB / 1.512 GB, free: 3.543 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.599, allocations: 4 kB / 1.512 GB, free: 3.539 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.6001, allocations: 0.4926 MB / 1.513 GB, free: 3.039 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.6016, allocations: 309.7 kB / 1.513 GB, free: 2.754 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/0.6144, allocations: 6.459 MB / 1.519 GB, free: 12.14 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000587/0.615, allocations: 452.8 kB / 1.52 GB, free: 11.67 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009899/0.616, allocations: 266.8 kB / 1.52 GB, free: 11.4 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007089/0.6167, allocations: 399.3 kB / 1.52 GB, free: 11.01 MB / 1.217 GB Notification: Performance of SimCode: time 1.042e-06/0.6167, allocations: 4 kB / 1.52 GB, free: 11.01 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06547/0.6822, allocations: 23.65 MB / 1.544 GB, free: 3.66 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.94/16.62, allocations: 5.812 kB / 1.544 GB, free: 3.656 MB / 1.232 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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: 23.369946522987448]