Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.001191/0.001191, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001449/0.001449, allocations: 217 kB / 23.04 MB, free: 5.074 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.395/1.395, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.108/3.108, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 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.SimpleHouse0,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",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.001983/0.001983, allocations: 67.05 kB / 1.171 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3487, allocations: 179 MB / 1.345 GB, free: 472 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007071/0.3558, allocations: 5.022 MB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1741/0.5299, allocations: 154.1 MB / 1.501 GB, free: 0.6953 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007571/0.5306, allocations: 23.81 kB / 1.501 GB, free: 0.6719 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005801/0.5312, allocations: 202.2 kB / 1.501 GB, free: 484 kB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.5329, allocations: 0.5547 MB / 1.501 GB, free: 15.92 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.5349, allocations: 0.8845 MB / 1.502 GB, free: 15.04 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001757/0.5367, allocations: 1.393 MB / 1.504 GB, free: 13.64 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007192/0.5374, allocations: 409.9 kB / 1.504 GB, free: 13.22 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007543/0.5382, allocations: 0.4983 MB / 1.505 GB, free: 12.72 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006537/0.5388, allocations: 0.5018 MB / 1.505 GB, free: 12.21 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.539, allocations: 116 kB / 1.505 GB, free: 12.1 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009935/0.54, allocations: 0.5113 MB / 1.506 GB, free: 11.59 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002863/0.5403, allocations: 303 kB / 1.506 GB, free: 11.29 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005271/0.5408, allocations: 0.5635 MB / 1.507 GB, free: 10.73 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00216/0.5429, allocations: 1.669 MB / 1.508 GB, free: 9.051 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5429, allocations: 4 kB / 1.508 GB, free: 9.047 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.232e-06/0.543, allocations: 0 / 1.508 GB, free: 9.047 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.35e-05/0.543, allocations: 0 / 1.508 GB, free: 9.047 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002671/0.5456, allocations: 1.415 MB / 1.51 GB, free: 7.594 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.5457, allocations: 15.97 kB / 1.51 GB, free: 7.578 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.059e-05/0.5457, allocations: 22.19 kB / 1.51 GB, free: 7.559 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001497/0.5459, allocations: 131.3 kB / 1.51 GB, free: 7.422 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/0.5473, allocations: 236 kB / 1.51 GB, free: 7.191 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.5486, allocations: 0.7178 MB / 1.511 GB, free: 6.445 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.407e-05/0.5487, allocations: 62 kB / 1.511 GB, free: 6.383 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.5488, allocations: 84 kB / 1.511 GB, free: 6.301 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.5504, allocations: 0.9114 MB / 1.512 GB, free: 5.348 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.5505, allocations: 0 / 1.512 GB, free: 5.348 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.751e-05/0.5506, allocations: 36 kB / 1.512 GB, free: 5.312 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.5506, allocations: 20 kB / 1.512 GB, free: 5.293 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.5524, allocations: 1.096 MB / 1.513 GB, free: 4.195 MB / 1.201 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.004327/0.5567, allocations: 2.781 MB / 1.515 GB, free: 1.277 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.5582, allocations: 0.7424 MB / 1.516 GB, free: 0.5273 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005065/0.5587, allocations: 270.7 kB / 1.516 GB, free: 268 kB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.154e-05/0.5588, allocations: 36.59 kB / 1.517 GB, free: 228 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008747/0.5596, allocations: 483.9 kB / 1.517 GB, free: 15.73 MB / 1.217 GB Notification: Performance of pre-optimization done (n=78): time 2.375e-06/0.5596, allocations: 0 / 1.517 GB, free: 15.73 MB / 1.217 GB Notification: Performance of matching and sorting (n=78): time 0.003198/0.5628, allocations: 1.107 MB / 1.518 GB, free: 14.62 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.563, allocations: 196.6 kB / 1.518 GB, free: 14.38 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008934/0.5639, allocations: 0.6568 MB / 1.519 GB, free: 13.71 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.421e-05/0.5639, allocations: 45.69 kB / 1.519 GB, free: 13.66 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003469/0.5643, allocations: 409 kB / 1.519 GB, free: 13.26 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/0.5646, allocations: 261.7 kB / 1.52 GB, free: 13 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/0.5648, allocations: 146.6 kB / 1.52 GB, free: 12.85 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.565, allocations: 394.7 kB / 1.52 GB, free: 12.46 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005185/0.5655, allocations: 241.9 kB / 1.52 GB, free: 12.22 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006113/0.5661, allocations: 359.4 kB / 1.521 GB, free: 11.84 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.5672, allocations: 0.5807 MB / 1.521 GB, free: 11.24 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5672, allocations: 0 / 1.521 GB, free: 11.24 MB / 1.217 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001978/0.5692, allocations: 0.7984 MB / 1.522 GB, free: 10.43 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.5692, allocations: 4 kB / 1.522 GB, free: 10.43 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.5692, allocations: 4 kB / 1.522 GB, free: 10.43 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005957/0.5698, allocations: 92.81 kB / 1.522 GB, free: 10.33 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006012/0.5704, allocations: 147.7 kB / 1.522 GB, free: 10.19 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/0.5725, allocations: 1.527 MB / 1.524 GB, free: 8.539 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007143/0.5732, allocations: 95.61 kB / 1.524 GB, free: 8.445 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.07e-05/0.5733, allocations: 27.98 kB / 1.524 GB, free: 8.418 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.0004511/0.5737, allocations: 266.7 kB / 1.524 GB, free: 8.148 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.5739, allocations: 91.42 kB / 1.524 GB, free: 8.059 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/0.5763, allocations: 1.046 MB / 1.525 GB, free: 7 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.5763, allocations: 15.94 kB / 1.525 GB, free: 6.984 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.5763, allocations: 0 / 1.525 GB, free: 6.984 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.5763, allocations: 7.984 kB / 1.525 GB, free: 6.977 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.5774, allocations: 0.8715 MB / 1.526 GB, free: 6.059 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.5774, allocations: 0 / 1.526 GB, free: 6.059 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005528/0.578, allocations: 139.8 kB / 1.526 GB, free: 5.922 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004385/0.5784, allocations: 72.78 kB / 1.526 GB, free: 5.848 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.441e-05/0.5785, allocations: 23.98 kB / 1.526 GB, free: 5.824 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/0.5804, allocations: 1.551 MB / 1.528 GB, free: 4.156 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5804, allocations: 4.062 kB / 1.528 GB, free: 4.152 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.5824, allocations: 0.9204 MB / 1.529 GB, free: 3.207 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004029/0.5828, allocations: 203.1 kB / 1.529 GB, free: 3.008 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.5829, allocations: 20 kB / 1.529 GB, free: 2.988 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006072/0.5835, allocations: 59.92 kB / 1.529 GB, free: 2.93 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.5837, allocations: 76.81 kB / 1.529 GB, free: 2.855 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.919e-05/0.5837, allocations: 36.03 kB / 1.529 GB, free: 2.82 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006104/0.5844, allocations: 487 kB / 1.53 GB, free: 2.348 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.5844, allocations: 4 kB / 1.53 GB, free: 2.344 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0008343/0.5852, allocations: 319.1 kB / 1.53 GB, free: 2.031 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.004085/0.5893, allocations: 1.981 MB / 1.532 GB, free: 208 kB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001641/0.5909, allocations: 0.7492 MB / 1.533 GB, free: 15.44 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5909, allocations: 3.984 kB / 1.533 GB, free: 15.44 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009202/0.5918, allocations: 0.4887 MB / 1.533 GB, free: 14.94 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.5931, allocations: 302.3 kB / 1.533 GB, free: 14.66 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.6038, allocations: 6.24 MB / 1.539 GB, free: 8.258 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000678/0.6045, allocations: 1.023 MB / 1.54 GB, free: 7.207 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009058/0.6054, allocations: 270.6 kB / 1.541 GB, free: 6.938 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005892/0.606, allocations: 395.3 kB / 1.541 GB, free: 6.555 MB / 1.232 GB Notification: Performance of SimCode: time 8.12e-07/0.606, allocations: 0 / 1.541 GB, free: 6.555 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05922/0.6652, allocations: 22.45 MB / 1.563 GB, free: 324 kB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.95/15.61, allocations: 9.609 kB / 1.563 GB, free: 316 kB / 1.248 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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: 22.34796029003337]