Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001769/0.001769, 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.002676/0.002676, allocations: 214.5 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.745/2.745, allocations: 476.8 MB / 0.7715 GB, free: 3.879 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_11_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.00198/0.00198, allocations: 64.91 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2907, allocations: 170 MB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.00652/0.2972, allocations: 4.489 MB / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.156/0.4532, allocations: 132.6 MB / 1.418 GB, free: 1.105 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007447/0.4539, allocations: 23.81 kB / 1.418 GB, free: 1.082 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006258/0.4545, allocations: 202.1 kB / 1.418 GB, free: 0.8828 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001755/0.4563, allocations: 0.5716 MB / 1.419 GB, free: 320 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001963/0.4583, allocations: 0.8527 MB / 1.42 GB, free: 15.46 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001629/0.4599, allocations: 1.401 MB / 1.421 GB, free: 14.06 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006997/0.4606, allocations: 414 kB / 1.421 GB, free: 13.63 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006977/0.4613, allocations: 0.4983 MB / 1.422 GB, free: 13.13 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006342/0.4619, allocations: 0.5056 MB / 1.422 GB, free: 12.62 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001714/0.4621, allocations: 116 kB / 1.422 GB, free: 12.51 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009365/0.463, allocations: 0.4996 MB / 1.423 GB, free: 12.01 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003112/0.4633, allocations: 299 kB / 1.423 GB, free: 11.71 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004847/0.4638, allocations: 465.7 kB / 1.424 GB, free: 11.26 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002089/0.4659, allocations: 1.679 MB / 1.425 GB, free: 9.574 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4659, allocations: 4 kB / 1.425 GB, free: 9.57 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4659, allocations: 0 / 1.425 GB, free: 9.57 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.5e-05/0.4659, allocations: 4 kB / 1.425 GB, free: 9.566 MB / 1.123 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.002703/0.4686, allocations: 1.408 MB / 1.427 GB, free: 8.121 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.4687, allocations: 8.031 kB / 1.427 GB, free: 8.113 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.34e-05/0.4687, allocations: 22.19 kB / 1.427 GB, free: 8.09 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001573/0.4689, allocations: 139.2 kB / 1.427 GB, free: 7.945 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/0.4703, allocations: 228 kB / 1.427 GB, free: 7.723 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.4716, allocations: 0.7217 MB / 1.428 GB, free: 6.973 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.904e-05/0.4717, allocations: 61.98 kB / 1.428 GB, free: 6.914 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.4718, allocations: 80 kB / 1.428 GB, free: 6.836 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.4736, allocations: 1.166 MB / 1.429 GB, free: 5.562 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.4736, allocations: 4 kB / 1.429 GB, free: 5.559 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.771e-05/0.4737, allocations: 36 kB / 1.429 GB, free: 5.523 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.4737, allocations: 23.98 kB / 1.429 GB, free: 5.5 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.4756, allocations: 1.097 MB / 1.43 GB, free: 4.402 MB / 1.123 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.004169/0.4798, allocations: 2.277 MB / 1.432 GB, free: 2.055 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.4813, allocations: 0.7272 MB / 1.433 GB, free: 1.32 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005118/0.4818, allocations: 270.7 kB / 1.433 GB, free: 1.051 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.567e-05/0.4819, allocations: 24.62 kB / 1.433 GB, free: 1.023 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009371/0.4828, allocations: 0.5854 MB / 1.434 GB, free: 408 kB / 1.123 GB Notification: Performance of pre-optimization done (n=78): time 4.578e-06/0.4828, allocations: 3.984 kB / 1.434 GB, free: 404 kB / 1.123 GB Notification: Performance of matching and sorting (n=78): time 0.003238/0.486, allocations: 1.111 MB / 1.435 GB, free: 15.27 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.4861, allocations: 188.6 kB / 1.435 GB, free: 15.04 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008971/0.487, allocations: 0.6645 MB / 1.436 GB, free: 14.38 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.646e-05/0.4871, allocations: 41.7 kB / 1.436 GB, free: 14.33 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/0.4875, allocations: 413 kB / 1.436 GB, free: 13.92 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.4877, allocations: 261.7 kB / 1.436 GB, free: 13.66 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/0.4879, allocations: 146.6 kB / 1.437 GB, free: 13.52 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.4881, allocations: 394.7 kB / 1.437 GB, free: 13.12 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004982/0.4886, allocations: 241.9 kB / 1.437 GB, free: 12.89 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006754/0.4893, allocations: 487.9 kB / 1.438 GB, free: 12.35 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.4904, allocations: 0.5807 MB / 1.438 GB, free: 11.75 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4904, allocations: 4 kB / 1.438 GB, free: 11.75 MB / 1.139 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001981/0.4924, allocations: 0.7946 MB / 1.439 GB, free: 10.94 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.4924, allocations: 4 kB / 1.439 GB, free: 10.94 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.4924, allocations: 4 kB / 1.439 GB, free: 10.93 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006343/0.493, allocations: 88.77 kB / 1.439 GB, free: 10.84 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006353/0.4937, allocations: 147.7 kB / 1.439 GB, free: 10.7 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/0.496, allocations: 1.519 MB / 1.441 GB, free: 9.062 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007369/0.4967, allocations: 91.52 kB / 1.441 GB, free: 8.973 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-05/0.4968, allocations: 27.98 kB / 1.441 GB, free: 8.945 MB / 1.139 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.0004739/0.4973, allocations: 273.8 kB / 1.441 GB, free: 8.668 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.4975, allocations: 87.47 kB / 1.441 GB, free: 8.582 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002442/0.4999, allocations: 1.042 MB / 1.442 GB, free: 7.523 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.4999, allocations: 15.94 kB / 1.442 GB, free: 7.508 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.4999, allocations: 3.938 kB / 1.442 GB, free: 7.504 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.4999, allocations: 3.984 kB / 1.442 GB, free: 7.5 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.501, allocations: 0.7429 MB / 1.443 GB, free: 6.715 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.501, allocations: 4 kB / 1.443 GB, free: 6.711 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005679/0.5016, allocations: 135.8 kB / 1.443 GB, free: 6.578 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004473/0.502, allocations: 76.78 kB / 1.443 GB, free: 6.5 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.617e-05/0.5021, allocations: 23.98 kB / 1.443 GB, free: 6.477 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/0.5041, allocations: 1.551 MB / 1.445 GB, free: 4.809 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5041, allocations: 0 / 1.445 GB, free: 4.809 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.5061, allocations: 0.9205 MB / 1.446 GB, free: 3.863 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000418/0.5065, allocations: 199.1 kB / 1.446 GB, free: 3.668 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.5066, allocations: 19.94 kB / 1.446 GB, free: 3.648 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000634/0.5073, allocations: 72.22 kB / 1.446 GB, free: 3.582 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.5074, allocations: 76.8 kB / 1.446 GB, free: 3.508 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-05/0.5075, allocations: 31.98 kB / 1.446 GB, free: 3.477 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006439/0.5082, allocations: 483 kB / 1.446 GB, free: 3.012 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.5082, allocations: 0 / 1.446 GB, free: 3.012 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009062/0.5091, allocations: 323.1 kB / 1.447 GB, free: 2.695 MB / 1.139 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.004345/0.5134, allocations: 2 MB / 1.449 GB, free: 0.8711 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001687/0.5151, allocations: 0.7648 MB / 1.449 GB, free: 100 kB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5151, allocations: 0 / 1.449 GB, free: 100 kB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009472/0.516, allocations: 492.5 kB / 1.45 GB, free: 15.61 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.5173, allocations: 306.5 kB / 1.45 GB, free: 15.33 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.5283, allocations: 6.248 MB / 1.456 GB, free: 8.91 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.5288, allocations: 440 kB / 1.457 GB, free: 8.449 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008662/0.5296, allocations: 266.7 kB / 1.457 GB, free: 8.184 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006112/0.5302, allocations: 395.3 kB / 1.457 GB, free: 7.797 MB / 1.154 GB Notification: Performance of SimCode: time 9.82e-07/0.5302, allocations: 0 / 1.457 GB, free: 7.797 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05605/0.5863, allocations: 23.2 MB / 1.48 GB, free: 0.9922 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/15.35, allocations: 4 kB / 1.48 GB, free: 0.9883 MB / 1.17 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.031115812947974]