Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.0008384/0.0008384, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008339/0.0008339, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8655/0.8655, allocations: 177.2 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.65/1.65, allocations: 377.9 MB / 0.6229 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] 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.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.117e-05, allocations: 9.516 kB / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.6738/0.6738, allocations: 146.3 MB / 1.125 GB, free: 14.28 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.008309/0.6821, allocations: 7.54 MB / 1.132 GB, free: 9.16 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007134/0.6829, allocations: 46.78 kB / 1.132 GB, free: 9.137 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008694/0.6837, allocations: 401 kB / 1.133 GB, free: 8.895 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002714/0.6864, allocations: 1.414 MB / 1.134 GB, free: 8.07 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.6884, allocations: 1.222 MB / 1.135 GB, free: 7.395 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001737/0.6901, allocations: 2.485 MB / 1.138 GB, free: 6.125 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009198/0.6911, allocations: 0.9808 MB / 1.139 GB, free: 5.625 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.6922, allocations: 1.25 MB / 1.14 GB, free: 5.047 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000982/0.6931, allocations: 0.668 MB / 1.141 GB, free: 4.805 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.6933, allocations: 159.2 kB / 1.141 GB, free: 4.805 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.6949, allocations: 1.037 MB / 1.142 GB, free: 4.477 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003286/0.6952, allocations: 455.8 kB / 1.142 GB, free: 4.203 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004357/0.6956, allocations: 0.5489 MB / 1.143 GB, free: 3.938 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003416/0.699, allocations: 2.595 MB / 1.145 GB, free: 2.91 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.699, allocations: 0 / 1.145 GB, free: 2.91 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.986e-06/0.699, allocations: 0.7812 kB / 1.145 GB, free: 2.91 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.356e-05/0.6991, allocations: 0 / 1.145 GB, free: 2.91 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.002844/0.7019, allocations: 1.889 MB / 1.147 GB, free: 1.707 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.702, allocations: 9.312 kB / 1.147 GB, free: 1.707 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/0.7035, allocations: 377.4 kB / 1.148 GB, free: 1.602 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.705, allocations: 0.969 MB / 1.149 GB, free: 1.027 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.429e-05/0.7051, allocations: 86.47 kB / 1.149 GB, free: 0.9883 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.7052, allocations: 112.8 kB / 1.149 GB, free: 0.9531 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.707, allocations: 1.549 MB / 1.15 GB, free: 15.95 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/0.707, allocations: 1.891 kB / 1.15 GB, free: 15.95 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.848e-05/0.7071, allocations: 52.89 kB / 1.15 GB, free: 15.91 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.212e-05/0.7072, allocations: 38.8 kB / 1.15 GB, free: 15.91 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.7091, allocations: 1.266 MB / 1.152 GB, free: 15.58 MB / 1.01 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.0044/0.7135, allocations: 2.901 MB / 1.154 GB, free: 13.94 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.7151, allocations: 0.9949 MB / 1.155 GB, free: 13.54 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005716/0.7157, allocations: 384.3 kB / 1.156 GB, free: 13.4 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 7.665e-05/0.7158, allocations: 28.64 kB / 1.156 GB, free: 13.39 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009618/0.7168, allocations: 0.8063 MB / 1.157 GB, free: 12.89 MB / 1.01 GB Notification: Performance of pre-optimization done (n=110): time 2.485e-06/0.7168, allocations: 4 kB / 1.157 GB, free: 12.89 MB / 1.01 GB Notification: Performance of matching and sorting (n=110): time 0.002612/0.7194, allocations: 1.406 MB / 1.158 GB, free: 12.38 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.7195, allocations: 201.9 kB / 1.158 GB, free: 12.16 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008982/0.7204, allocations: 0.8131 MB / 1.159 GB, free: 11.82 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.689e-05/0.7204, allocations: 54.77 kB / 1.159 GB, free: 11.77 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.7208, allocations: 0.5407 MB / 1.159 GB, free: 11.34 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/0.721, allocations: 372.7 kB / 1.16 GB, free: 11.05 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002993/0.7213, allocations: 216.5 kB / 1.16 GB, free: 10.95 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.7214, allocations: 349.5 kB / 1.16 GB, free: 10.62 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004916/0.7219, allocations: 361.2 kB / 1.161 GB, free: 10.5 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006247/0.7225, allocations: 0.6281 MB / 1.161 GB, free: 10.09 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.7235, allocations: 0.8505 MB / 1.162 GB, free: 9.656 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.7235, allocations: 0 / 1.162 GB, free: 9.656 MB / 1.01 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00162/0.7252, allocations: 1.159 MB / 1.163 GB, free: 9.184 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.7252, allocations: 7.375 kB / 1.163 GB, free: 9.184 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.7252, allocations: 2.625 kB / 1.163 GB, free: 9.184 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003289/0.7255, allocations: 86.23 kB / 1.163 GB, free: 9.164 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005066/0.726, allocations: 229.9 kB / 1.164 GB, free: 9.137 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.7274, allocations: 1.495 MB / 1.165 GB, free: 7.777 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005552/0.7279, allocations: 119.2 kB / 1.165 GB, free: 7.711 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.537e-05/0.728, allocations: 45.91 kB / 1.165 GB, free: 7.703 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (137): * Single equations (assignments): 136 * 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.0003688/0.7284, allocations: 339.9 kB / 1.166 GB, free: 7.457 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.7285, allocations: 120.2 kB / 1.166 GB, free: 7.395 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/0.7303, allocations: 1.269 MB / 1.167 GB, free: 6.891 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.7303, allocations: 12.22 kB / 1.167 GB, free: 6.891 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.7303, allocations: 4.703 kB / 1.167 GB, free: 6.887 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.7303, allocations: 9.469 kB / 1.167 GB, free: 6.883 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/0.7334, allocations: 2.275 MB / 1.169 GB, free: 5.812 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.7334, allocations: 0.9688 kB / 1.169 GB, free: 5.812 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004726/0.7339, allocations: 213.4 kB / 1.169 GB, free: 5.793 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002074/0.7341, allocations: 74.06 kB / 1.169 GB, free: 5.773 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.076e-05/0.7341, allocations: 33.44 kB / 1.169 GB, free: 5.758 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.7354, allocations: 1.529 MB / 1.171 GB, free: 4.371 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.7354, allocations: 5.859 kB / 1.171 GB, free: 4.367 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.7374, allocations: 1.7 MB / 1.173 GB, free: 3.613 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003377/0.7378, allocations: 250.5 kB / 1.173 GB, free: 3.473 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.484e-05/0.7379, allocations: 29.03 kB / 1.173 GB, free: 3.453 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/0.7383, allocations: 73.06 kB / 1.173 GB, free: 3.434 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.7384, allocations: 88.62 kB / 1.173 GB, free: 3.418 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.038e-05/0.7384, allocations: 46 kB / 1.173 GB, free: 3.406 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005266/0.739, allocations: 0.5611 MB / 1.174 GB, free: 3.176 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.7e-07/0.739, allocations: 5.031 kB / 1.174 GB, free: 3.172 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009343/0.7399, allocations: 447 kB / 1.174 GB, free: 3.059 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (121): * Single equations (assignments): 110 * 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.001118/0.741, allocations: 0.682 MB / 1.175 GB, free: 2.789 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001324/0.7423, allocations: 1.012 MB / 1.176 GB, free: 2.383 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.7423, allocations: 0 / 1.176 GB, free: 2.383 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006334/0.743, allocations: 0.5781 MB / 1.176 GB, free: 2.121 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.7441, allocations: 492.6 kB / 1.177 GB, free: 1.965 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.747, allocations: 2.435 MB / 1.179 GB, free: 0.6562 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.7474, allocations: 0.5765 MB / 1.18 GB, free: 0.5 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/0.7477, allocations: 146.2 kB / 1.18 GB, free: 484 kB / 1.01 GB Notification: Performance of SimCode: time 7.92e-07/0.7477, allocations: 3.938 kB / 1.18 GB, free: 480 kB / 1.01 GB Notification: Performance of Templates: time 0.02299/0.7707, allocations: 25.8 MB / 1.205 GB, free: 5.078 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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: 10.289559049531817]