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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009551/0.009551, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.728/2.728, allocations: 462.7 MB / 0.7364 GB, free: 260 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003141, allocations: 13.22 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2816, allocations: 159.6 MB / 1.059 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.005657/0.2873, allocations: 4.514 MB / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1608/0.4481, allocations: 146.7 MB / 1.206 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009817/0.4492, allocations: 23.81 kB / 1.206 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008425/0.45, allocations: 150.8 kB / 1.206 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002311/0.4524, allocations: 473 kB / 1.207 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00235/0.4547, allocations: 0.7132 MB / 1.208 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001995/0.4568, allocations: 1.28 MB / 1.209 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.4578, allocations: 0.5517 MB / 1.209 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008244/0.4587, allocations: 342.4 kB / 1.21 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006788/0.4594, allocations: 381.9 kB / 1.21 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.4596, allocations: 27.94 kB / 1.21 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.4606, allocations: 375.6 kB / 1.21 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002338/0.4609, allocations: 187.1 kB / 1.211 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005177/0.4614, allocations: 466.9 kB / 1.211 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00174/0.4631, allocations: 1.472 MB / 1.213 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4632, allocations: 0 / 1.213 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4632, allocations: 0 / 1.213 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.155e-05/0.4632, allocations: 0 / 1.213 GB, free: 7.273 MB / 0.9669 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.002552/0.4658, allocations: 1.22 MB / 1.214 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.4658, allocations: 8.031 kB / 1.214 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.4668, allocations: 199.4 kB / 1.214 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.4682, allocations: 0.7343 MB / 1.215 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-05/0.4682, allocations: 61.98 kB / 1.215 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.4684, allocations: 80 kB / 1.215 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/0.4701, allocations: 0.9192 MB / 1.216 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.4702, allocations: 0 / 1.216 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.441e-05/0.4703, allocations: 39.94 kB / 1.216 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.4703, allocations: 20 kB / 1.216 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/0.472, allocations: 1.104 MB / 1.217 GB, free: 2.762 MB / 0.9669 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.004174/0.4762, allocations: 2.804 MB / 1.22 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.4777, allocations: 0.7974 MB / 1.22 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005365/0.4783, allocations: 302.6 kB / 1.221 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.678e-05/0.4783, allocations: 36.52 kB / 1.221 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008816/0.4792, allocations: 488 kB / 1.221 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 3.036e-06/0.4792, allocations: 7.938 kB / 1.221 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.00315/0.4824, allocations: 1.19 MB / 1.222 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.567e-05/0.4825, allocations: 192.6 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008585/0.4834, allocations: 0.6331 MB / 1.223 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.564e-05/0.4835, allocations: 41.7 kB / 1.223 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004048/0.4839, allocations: 400.4 kB / 1.224 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.4841, allocations: 252.4 kB / 1.224 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.4843, allocations: 73.62 kB / 1.224 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.4844, allocations: 390.7 kB / 1.224 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005352/0.485, allocations: 261.9 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006208/0.4856, allocations: 372 kB / 1.225 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.4867, allocations: 0.6081 MB / 1.225 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.4867, allocations: 0 / 1.225 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00187/0.4886, allocations: 0.8488 MB / 1.226 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.4886, allocations: 4.125 kB / 1.226 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.4886, allocations: 8 kB / 1.226 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006185/0.4893, allocations: 80.77 kB / 1.226 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006186/0.4899, allocations: 167.7 kB / 1.226 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/0.4919, allocations: 1.523 MB / 1.228 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000777/0.4927, allocations: 101.4 kB / 1.228 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.984e-05/0.4928, allocations: 43.97 kB / 1.228 GB, free: 6.77 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (93): * Single equations (assignments): 92 * 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.0004528/0.4932, allocations: 271.6 kB / 1.228 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.4934, allocations: 90.89 kB / 1.228 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/0.4958, allocations: 1.054 MB / 1.229 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.4958, allocations: 11.94 kB / 1.229 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4959, allocations: 0 / 1.229 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.4959, allocations: 3.984 kB / 1.229 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.497, allocations: 0.8879 MB / 1.23 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/0.497, allocations: 4 kB / 1.23 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005745/0.4976, allocations: 139.8 kB / 1.231 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005431/0.4981, allocations: 84.72 kB / 1.231 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.92e-05/0.4982, allocations: 27.97 kB / 1.231 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.5001, allocations: 1.544 MB / 1.232 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5001, allocations: 4 kB / 1.232 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.502, allocations: 0.9239 MB / 1.233 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000409/0.5025, allocations: 283.7 kB / 1.233 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.5026, allocations: 20 kB / 1.233 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006662/0.5033, allocations: 79.92 kB / 1.233 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.5034, allocations: 64.91 kB / 1.233 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-05/0.5035, allocations: 35.97 kB / 1.233 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000609/0.5041, allocations: 467 kB / 1.234 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5041, allocations: 0 / 1.234 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008714/0.505, allocations: 327.1 kB / 1.234 GB, free: 232 kB / 0.9825 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.001471/0.5065, allocations: 0.5987 MB / 1.235 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001756/0.5083, allocations: 0.8195 MB / 1.236 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5083, allocations: 0 / 1.236 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009229/0.5092, allocations: 0.516 MB / 1.236 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.5105, allocations: 270.1 kB / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003321/0.5138, allocations: 2.113 MB / 1.238 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006195/0.5144, allocations: 1.031 MB / 1.239 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008997/0.5153, allocations: 262.6 kB / 1.24 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/0.5157, allocations: 99.39 kB / 1.24 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/0.5157, allocations: 0 / 1.24 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of Templates: time 0.5168/1.032, allocations: 14.27 MB / 1.254 GB, free: 186.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile (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 & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches