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.001635/0.001635, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002096/0.002096, allocations: 216.4 kB / 22.25 MB, free: 4.855 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.82 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.249/3.249, allocations: 0.5107 GB / 0.8158 GB, free: 17.87 MB / 0.6231 GB " [Timeout remaining time 176] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",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.003215/0.003215, allocations: 80.5 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3628, allocations: 181.9 MB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.00755/0.3704, allocations: 4.521 MB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1678/0.5382, allocations: 132.7 MB / 1.497 GB, free: 4.434 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009185/0.5391, allocations: 23.81 kB / 1.497 GB, free: 4.41 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008292/0.54, allocations: 194.2 kB / 1.498 GB, free: 4.219 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002285/0.5422, allocations: 0.5734 MB / 1.498 GB, free: 3.645 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002363/0.5446, allocations: 0.8466 MB / 1.499 GB, free: 2.805 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001958/0.5466, allocations: 1.393 MB / 1.5 GB, free: 1.406 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009337/0.5475, allocations: 398.6 kB / 1.501 GB, free: 0.9922 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009657/0.5485, allocations: 0.4984 MB / 1.501 GB, free: 0.4922 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008363/0.5493, allocations: 461.8 kB / 1.502 GB, free: 40 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000308/0.5496, allocations: 116 kB / 1.502 GB, free: 15.92 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.5508, allocations: 491.6 kB / 1.502 GB, free: 15.45 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003654/0.5511, allocations: 299 kB / 1.502 GB, free: 15.15 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006809/0.5518, allocations: 465.7 kB / 1.503 GB, free: 14.7 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002506/0.5543, allocations: 1.681 MB / 1.505 GB, free: 13.01 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5543, allocations: 0 / 1.505 GB, free: 13.01 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5543, allocations: 0 / 1.505 GB, free: 13.01 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.566e-05/0.5544, allocations: 4 kB / 1.505 GB, free: 13 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.003079/0.5575, allocations: 1.411 MB / 1.506 GB, free: 11.56 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.5575, allocations: 8.031 kB / 1.506 GB, free: 11.55 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001788/0.5577, allocations: 131.3 kB / 1.506 GB, free: 11.41 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.5591, allocations: 239.9 kB / 1.506 GB, free: 11.18 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.5606, allocations: 0.7141 MB / 1.507 GB, free: 10.44 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.558e-05/0.5606, allocations: 66 kB / 1.507 GB, free: 10.37 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.5608, allocations: 76 kB / 1.507 GB, free: 10.3 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.5624, allocations: 1.162 MB / 1.508 GB, free: 9.031 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.5625, allocations: 0 / 1.508 GB, free: 9.031 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.399e-05/0.5625, allocations: 43.98 kB / 1.508 GB, free: 8.988 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.5626, allocations: 23.98 kB / 1.508 GB, free: 8.965 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.5643, allocations: 1.057 MB / 1.509 GB, free: 7.906 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.003903/0.5682, allocations: 2.279 MB / 1.512 GB, free: 5.562 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.5697, allocations: 0.739 MB / 1.512 GB, free: 4.812 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005222/0.5702, allocations: 266.6 kB / 1.513 GB, free: 4.551 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 7.612e-05/0.5703, allocations: 28.62 kB / 1.513 GB, free: 4.523 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009011/0.5712, allocations: 0.5762 MB / 1.513 GB, free: 3.902 MB / 1.201 GB Notification: Performance of pre-optimization done (n=78): time 2.515e-06/0.5712, allocations: 0 / 1.513 GB, free: 3.902 MB / 1.201 GB Notification: Performance of matching and sorting (n=78): time 0.003104/0.5743, allocations: 1.113 MB / 1.514 GB, free: 2.785 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.5744, allocations: 192.6 kB / 1.514 GB, free: 2.551 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00086/0.5753, allocations: 0.6646 MB / 1.515 GB, free: 1.875 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.885e-05/0.5753, allocations: 37.7 kB / 1.515 GB, free: 1.832 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.5757, allocations: 409 kB / 1.515 GB, free: 1.426 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/0.5759, allocations: 265.7 kB / 1.516 GB, free: 1.164 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.5761, allocations: 150.6 kB / 1.516 GB, free: 1.012 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.5763, allocations: 386.7 kB / 1.516 GB, free: 0.625 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/0.5768, allocations: 245.9 kB / 1.516 GB, free: 392 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006762/0.5775, allocations: 483.9 kB / 1.517 GB, free: 15.85 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.5786, allocations: 0.5807 MB / 1.518 GB, free: 15.26 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.5786, allocations: 4 kB / 1.518 GB, free: 15.25 MB / 1.217 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001861/0.5804, allocations: 0.8061 MB / 1.518 GB, free: 14.44 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.5804, allocations: 4 kB / 1.518 GB, free: 14.44 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.5805, allocations: 0 / 1.518 GB, free: 14.44 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005896/0.581, allocations: 84.84 kB / 1.518 GB, free: 14.35 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005914/0.5816, allocations: 147.8 kB / 1.519 GB, free: 14.21 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.5837, allocations: 1.531 MB / 1.52 GB, free: 12.55 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006307/0.5844, allocations: 79.58 kB / 1.52 GB, free: 12.47 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/0.5844, allocations: 27.98 kB / 1.52 GB, free: 12.45 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.0004081/0.5848, allocations: 273.7 kB / 1.52 GB, free: 12.17 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.585, allocations: 91.44 kB / 1.52 GB, free: 12.08 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002354/0.5874, allocations: 1.046 MB / 1.521 GB, free: 11.02 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.5874, allocations: 8 kB / 1.522 GB, free: 11.02 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5874, allocations: 7.922 kB / 1.522 GB, free: 11.01 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.5874, allocations: 7.984 kB / 1.522 GB, free: 11 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000989/0.5884, allocations: 0.7429 MB / 1.522 GB, free: 10.21 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5884, allocations: 0 / 1.522 GB, free: 10.21 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005553/0.5889, allocations: 143.8 kB / 1.522 GB, free: 10.07 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004376/0.5894, allocations: 72.78 kB / 1.522 GB, free: 9.996 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.489e-05/0.5894, allocations: 27.98 kB / 1.522 GB, free: 9.969 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/0.5913, allocations: 1.543 MB / 1.524 GB, free: 8.309 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5913, allocations: 3.984 kB / 1.524 GB, free: 8.305 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.5933, allocations: 0.9128 MB / 1.525 GB, free: 7.367 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004519/0.5938, allocations: 207 kB / 1.525 GB, free: 7.164 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.5939, allocations: 24.05 kB / 1.525 GB, free: 7.141 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005963/0.5945, allocations: 63.94 kB / 1.525 GB, free: 7.078 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.5946, allocations: 76.73 kB / 1.525 GB, free: 7.004 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-05/0.5947, allocations: 43.92 kB / 1.525 GB, free: 6.961 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006255/0.5953, allocations: 479 kB / 1.526 GB, free: 6.496 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.5953, allocations: 0 / 1.526 GB, free: 6.496 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007997/0.5961, allocations: 319.2 kB / 1.526 GB, free: 6.184 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.004331/0.6005, allocations: 2 MB / 1.528 GB, free: 4.367 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00174/0.6022, allocations: 0.7612 MB / 1.529 GB, free: 3.594 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.6022, allocations: 4 kB / 1.529 GB, free: 3.59 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009856/0.6032, allocations: 488.2 kB / 1.529 GB, free: 3.102 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.6045, allocations: 303.6 kB / 1.529 GB, free: 2.828 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.6157, allocations: 6.241 MB / 1.536 GB, free: 12.43 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005213/0.6162, allocations: 442.7 kB / 1.536 GB, free: 11.96 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0008865/0.6171, allocations: 266.6 kB / 1.536 GB, free: 11.69 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006251/0.6177, allocations: 403.3 kB / 1.537 GB, free: 11.3 MB / 1.232 GB Notification: Performance of SimCode: time 1.082e-06/0.6177, allocations: 0 / 1.537 GB, free: 11.3 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06703/0.6847, allocations: 23.4 MB / 1.56 GB, free: 4.195 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.64, allocations: 5.953 kB / 1.56 GB, free: 4.191 MB / 1.248 GB " [Timeout remaining time 285] (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: 21.539766401052475]