Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001945/0.001945, allocations: 80.92 kB / 19.18 MB, free: 2.516 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.002303/0.002303, allocations: 163 kB / 22.46 MB, free: 5.375 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.425/1.425, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.909/2.909, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.9814 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.601e-05, allocations: 2.281 kB / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006759/0.006785, allocations: 4.513 MB / 0.9858 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1753/0.1821, allocations: 132.7 MB / 1.115 GB, free: 2.254 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007431/0.1828, allocations: 23.81 kB / 1.115 GB, free: 2.23 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005952/0.1834, allocations: 202.1 kB / 1.116 GB, free: 2.031 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001812/0.1852, allocations: 0.5861 MB / 1.116 GB, free: 1.445 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.1874, allocations: 0.8636 MB / 1.117 GB, free: 0.5859 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001835/0.1892, allocations: 1.466 MB / 1.118 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007356/0.1899, allocations: 393.9 kB / 1.119 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.191, allocations: 0.7368 MB / 1.12 GB, free: 13.96 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000618/0.1916, allocations: 406.8 kB / 1.12 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002021/0.1918, allocations: 120 kB / 1.12 GB, free: 13.45 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.1929, allocations: 499.4 kB / 1.121 GB, free: 12.96 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003446/0.1932, allocations: 314.9 kB / 1.121 GB, free: 12.65 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000518/0.1937, allocations: 391 kB / 1.121 GB, free: 12.27 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.1962, allocations: 1.795 MB / 1.123 GB, free: 10.47 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1962, allocations: 4 kB / 1.123 GB, free: 10.46 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1962, allocations: 0 / 1.123 GB, free: 10.46 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.519e-05/0.1962, allocations: 0 / 1.123 GB, free: 10.46 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.0028/0.199, allocations: 1.427 MB / 1.124 GB, free: 9.004 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1991, allocations: 8.031 kB / 1.124 GB, free: 8.996 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00156/0.2006, allocations: 236 kB / 1.125 GB, free: 8.766 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.202, allocations: 0.7258 MB / 1.125 GB, free: 8.012 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.638e-05/0.2021, allocations: 70.12 kB / 1.125 GB, free: 7.941 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.2022, allocations: 84 kB / 1.125 GB, free: 7.859 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.2041, allocations: 1.182 MB / 1.127 GB, free: 6.574 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.2042, allocations: 7.938 kB / 1.127 GB, free: 6.566 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-05/0.2043, allocations: 43.98 kB / 1.127 GB, free: 6.523 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.2043, allocations: 20 kB / 1.127 GB, free: 6.504 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001949/0.2062, allocations: 1.054 MB / 1.128 GB, free: 5.449 MB / 1.076 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.004302/0.2105, allocations: 2.28 MB / 1.13 GB, free: 3.113 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.2121, allocations: 0.7818 MB / 1.131 GB, free: 2.328 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005952/0.2127, allocations: 292.4 kB / 1.131 GB, free: 2.039 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.174e-05/0.2128, allocations: 28.62 kB / 1.131 GB, free: 2.012 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.2138, allocations: 0.5973 MB / 1.132 GB, free: 1.367 MB / 1.076 GB Notification: Performance of pre-optimization done (n=86): time 2.525e-06/0.2138, allocations: 0 / 1.132 GB, free: 1.367 MB / 1.076 GB Notification: Performance of matching and sorting (n=86): time 0.003477/0.2173, allocations: 1.172 MB / 1.133 GB, free: 192 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4599/0.6772, allocations: 196.9 kB / 1.133 GB, free: 195.2 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007625/0.678, allocations: 0.6191 MB / 1.134 GB, free: 195.1 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001665/0.6782, allocations: 49.7 kB / 1.134 GB, free: 195.1 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.6784, allocations: 406.5 kB / 1.134 GB, free: 195 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.6786, allocations: 285.9 kB / 1.134 GB, free: 194.8 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/0.6788, allocations: 177 kB / 1.134 GB, free: 194.7 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.653e-05/0.6789, allocations: 384 kB / 1.135 GB, free: 194.4 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005089/0.6794, allocations: 293.7 kB / 1.135 GB, free: 194.3 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005887/0.6799, allocations: 0.5123 MB / 1.136 GB, free: 194 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.681, allocations: 0.6416 MB / 1.136 GB, free: 193.7 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.681, allocations: 0 / 1.136 GB, free: 193.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001869/0.6828, allocations: 0.9211 MB / 1.137 GB, free: 193.3 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.6829, allocations: 3.125 kB / 1.137 GB, free: 193.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.6829, allocations: 2.625 kB / 1.137 GB, free: 193.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006154/0.6835, allocations: 84.09 kB / 1.137 GB, free: 193.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006643/0.6841, allocations: 167 kB / 1.137 GB, free: 193.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/0.6859, allocations: 1.498 MB / 1.139 GB, free: 191.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007432/0.6866, allocations: 104.5 kB / 1.139 GB, free: 191.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/0.6867, allocations: 38.16 kB / 1.139 GB, free: 191.9 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (106): * Single equations (assignments): 105 * 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.0004325/0.6871, allocations: 274.7 kB / 1.139 GB, free: 191.7 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.6873, allocations: 87.36 kB / 1.139 GB, free: 191.6 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002174/0.6894, allocations: 1.074 MB / 1.14 GB, free: 191.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.6895, allocations: 11.38 kB / 1.14 GB, free: 191.2 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.6895, allocations: 2.062 kB / 1.14 GB, free: 191.2 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.6895, allocations: 3.328 kB / 1.14 GB, free: 191.2 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002978/0.6924, allocations: 1.88 MB / 1.142 GB, free: 190.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.6924, allocations: 0 / 1.142 GB, free: 190.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005447/0.693, allocations: 144.3 kB / 1.142 GB, free: 190.4 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004407/0.6934, allocations: 74.12 kB / 1.142 GB, free: 190.3 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.011e-05/0.6935, allocations: 27.14 kB / 1.142 GB, free: 190.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/0.695, allocations: 1.525 MB / 1.144 GB, free: 189 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.695, allocations: 0 / 1.144 GB, free: 189 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.6968, allocations: 1.028 MB / 1.145 GB, free: 188.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003565/0.6972, allocations: 191.8 kB / 1.145 GB, free: 188.4 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.6973, allocations: 34.27 kB / 1.145 GB, free: 188.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006495/0.698, allocations: 62.58 kB / 1.145 GB, free: 188.4 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.6981, allocations: 74.31 kB / 1.145 GB, free: 188.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.84e-05/0.6982, allocations: 37.94 kB / 1.145 GB, free: 188.3 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004606/0.6986, allocations: 438.7 kB / 1.146 GB, free: 188.2 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.6986, allocations: 3.969 kB / 1.146 GB, free: 188.2 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008637/0.6995, allocations: 338.8 kB / 1.146 GB, free: 188.1 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002023/0.7015, allocations: 0.6611 MB / 1.147 GB, free: 187.9 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001663/0.7032, allocations: 0.8412 MB / 1.147 GB, free: 187.6 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.7032, allocations: 2.656 kB / 1.147 GB, free: 187.6 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008172/0.704, allocations: 0.4953 MB / 1.148 GB, free: 187.4 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.7053, allocations: 292.4 kB / 1.148 GB, free: 187.3 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.7078, allocations: 1.706 MB / 1.15 GB, free: 186.4 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.7081, allocations: 449.1 kB / 1.15 GB, free: 186.2 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007004/0.7088, allocations: 264.9 kB / 1.151 GB, free: 186.2 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002636/0.7091, allocations: 111.4 kB / 1.151 GB, free: 186.1 MB / 1.076 GB Notification: Performance of SimCode: time 6.22e-07/0.7091, allocations: 0 / 1.151 GB, free: 186.1 MB / 1.076 GB Notification: Performance of Templates: time 0.02447/0.7336, allocations: 15.63 MB / 1.166 GB, free: 184.3 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.43013285472989]