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.001794/0.001794, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002203/0.002203, allocations: 217.4 kB / 22.25 MB, free: 5.121 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.424/1.424, allocations: 230.6 MB / 256 MB, free: 7.965 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.269/3.269, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.002499/0.002499, allocations: 68.48 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3576, allocations: 180.2 MB / 1.353 GB, free: 8.496 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007616/0.3652, allocations: 5.029 MB / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1706/0.5358, allocations: 154.1 MB / 1.508 GB, free: 8.742 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008219/0.5366, allocations: 27.81 kB / 1.508 GB, free: 8.715 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007572/0.5374, allocations: 198.2 kB / 1.508 GB, free: 8.52 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001952/0.5393, allocations: 0.5725 MB / 1.509 GB, free: 7.949 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002086/0.5414, allocations: 0.8681 MB / 1.51 GB, free: 7.086 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001804/0.5432, allocations: 1.397 MB / 1.511 GB, free: 5.684 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008273/0.544, allocations: 406 kB / 1.512 GB, free: 5.262 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008134/0.5449, allocations: 0.5021 MB / 1.512 GB, free: 4.758 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007731/0.5456, allocations: 0.5018 MB / 1.513 GB, free: 4.254 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002397/0.5459, allocations: 116 kB / 1.513 GB, free: 4.141 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.5469, allocations: 0.5113 MB / 1.513 GB, free: 3.629 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003181/0.5472, allocations: 303 kB / 1.513 GB, free: 3.332 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006567/0.5479, allocations: 0.5674 MB / 1.514 GB, free: 2.762 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002228/0.5501, allocations: 1.662 MB / 1.516 GB, free: 1.094 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5501, allocations: 7.875 kB / 1.516 GB, free: 1.086 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5501, allocations: 0 / 1.516 GB, free: 1.086 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.936e-05/0.5502, allocations: 0 / 1.516 GB, free: 1.086 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.002691/0.5529, allocations: 1.42 MB / 1.517 GB, free: 15.63 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.5529, allocations: 15.97 kB / 1.517 GB, free: 15.61 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.5531, allocations: 131.3 kB / 1.517 GB, free: 15.48 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.5544, allocations: 232 kB / 1.517 GB, free: 15.25 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.5557, allocations: 0.7209 MB / 1.518 GB, free: 14.5 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.498e-05/0.5558, allocations: 58 kB / 1.518 GB, free: 14.44 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.5559, allocations: 87.94 kB / 1.518 GB, free: 14.36 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.5574, allocations: 0.9075 MB / 1.519 GB, free: 13.41 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.5574, allocations: 0 / 1.519 GB, free: 13.41 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.749e-05/0.5575, allocations: 32 kB / 1.519 GB, free: 13.38 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.5575, allocations: 20 kB / 1.519 GB, free: 13.36 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.5592, allocations: 1.104 MB / 1.52 GB, free: 12.25 MB / 1.217 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.003928/0.5631, allocations: 2.789 MB / 1.523 GB, free: 9.32 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.5645, allocations: 0.7427 MB / 1.524 GB, free: 8.566 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004904/0.565, allocations: 266.6 kB / 1.524 GB, free: 8.305 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.399e-05/0.5651, allocations: 40.53 kB / 1.524 GB, free: 8.262 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008047/0.5659, allocations: 484.8 kB / 1.524 GB, free: 7.773 MB / 1.217 GB Notification: Performance of pre-optimization done (n=78): time 1.933e-06/0.5659, allocations: 0 / 1.524 GB, free: 7.773 MB / 1.217 GB Notification: Performance of matching and sorting (n=78): time 0.003085/0.569, allocations: 1.107 MB / 1.526 GB, free: 6.656 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.5691, allocations: 192.5 kB / 1.526 GB, free: 6.426 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008152/0.5699, allocations: 0.6645 MB / 1.526 GB, free: 5.754 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.326e-05/0.57, allocations: 41.7 kB / 1.526 GB, free: 5.707 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003317/0.5703, allocations: 413 kB / 1.527 GB, free: 5.297 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.5705, allocations: 261.8 kB / 1.527 GB, free: 5.039 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/0.5708, allocations: 150.6 kB / 1.527 GB, free: 4.887 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.5709, allocations: 386.8 kB / 1.528 GB, free: 4.5 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004765/0.5714, allocations: 245.9 kB / 1.528 GB, free: 4.262 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005901/0.572, allocations: 359.4 kB / 1.528 GB, free: 3.879 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.573, allocations: 0.5807 MB / 1.529 GB, free: 3.285 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.573, allocations: 0 / 1.529 GB, free: 3.285 MB / 1.217 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001846/0.5749, allocations: 0.7984 MB / 1.53 GB, free: 2.477 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.5749, allocations: 4 kB / 1.53 GB, free: 2.473 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.5749, allocations: 7.984 kB / 1.53 GB, free: 2.465 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006035/0.5755, allocations: 84.84 kB / 1.53 GB, free: 2.379 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005813/0.5761, allocations: 143.8 kB / 1.53 GB, free: 2.238 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.5782, allocations: 1.529 MB / 1.531 GB, free: 0.5938 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006248/0.5788, allocations: 97 kB / 1.531 GB, free: 0.5 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.682e-05/0.5789, allocations: 27.98 kB / 1.531 GB, free: 484 kB / 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.0003933/0.5793, allocations: 273.6 kB / 1.532 GB, free: 200 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.5794, allocations: 87.44 kB / 1.532 GB, free: 112 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/0.5817, allocations: 1.05 MB / 1.533 GB, free: 15.04 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.5817, allocations: 8 kB / 1.533 GB, free: 15.03 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.5817, allocations: 0 / 1.533 GB, free: 15.03 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.5817, allocations: 3.984 kB / 1.533 GB, free: 15.03 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.5828, allocations: 0.8754 MB / 1.534 GB, free: 14.11 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.5828, allocations: 3.984 kB / 1.534 GB, free: 14.11 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005463/0.5833, allocations: 135.8 kB / 1.534 GB, free: 13.97 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004456/0.5838, allocations: 80.7 kB / 1.534 GB, free: 13.89 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.544e-05/0.5838, allocations: 27.97 kB / 1.534 GB, free: 13.86 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/0.5857, allocations: 1.547 MB / 1.535 GB, free: 12.2 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5857, allocations: 0 / 1.535 GB, free: 12.2 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.5876, allocations: 0.9166 MB / 1.536 GB, free: 11.26 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004059/0.588, allocations: 203.1 kB / 1.536 GB, free: 11.06 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.5882, allocations: 23.94 kB / 1.536 GB, free: 11.04 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005732/0.5887, allocations: 63.92 kB / 1.537 GB, free: 10.98 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.5889, allocations: 76.86 kB / 1.537 GB, free: 10.9 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.256e-05/0.5889, allocations: 27.98 kB / 1.537 GB, free: 10.88 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005965/0.5895, allocations: 487 kB / 1.537 GB, free: 10.4 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.5895, allocations: 0 / 1.537 GB, free: 10.4 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008024/0.5903, allocations: 319.1 kB / 1.537 GB, free: 10.09 MB / 1.232 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.003956/0.5943, allocations: 1.973 MB / 1.539 GB, free: 8.262 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001593/0.5959, allocations: 0.7611 MB / 1.54 GB, free: 7.492 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.5959, allocations: 0 / 1.54 GB, free: 7.492 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0008834/0.5968, allocations: 492.2 kB / 1.541 GB, free: 6.996 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.5979, allocations: 299.9 kB / 1.541 GB, free: 6.727 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.6081, allocations: 6.25 MB / 1.547 GB, free: 320 kB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007099/0.6088, allocations: 1.023 MB / 1.548 GB, free: 15.26 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008334/0.6096, allocations: 274.6 kB / 1.548 GB, free: 14.99 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005835/0.6102, allocations: 403.3 kB / 1.549 GB, free: 14.6 MB / 1.248 GB Notification: Performance of SimCode: time 1.102e-06/0.6102, allocations: 0 / 1.549 GB, free: 14.6 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0637/0.6739, allocations: 22.39 MB / 1.57 GB, free: 8.402 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.24/15.91, allocations: 13.45 kB / 1.57 GB, free: 8.395 MB / 1.264 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.758260022848845]