Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008491/0.0008491, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007986/0.0007986, 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.8541/0.8541, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.549/1.549, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 0.9517 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.34e-05/3.567e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.6081/0.6081, allocations: 146.3 MB / 1.095 GB, free: 39.59 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.007506/0.6156, allocations: 7.54 MB / 1.102 GB, free: 37.54 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007752/0.6164, allocations: 46.19 kB / 1.102 GB, free: 37.52 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008178/0.6172, allocations: 398.5 kB / 1.102 GB, free: 37.31 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002237/0.6194, allocations: 1.415 MB / 1.104 GB, free: 36.76 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001954/0.6214, allocations: 1.226 MB / 1.105 GB, free: 36.21 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001962/0.6233, allocations: 2.475 MB / 1.107 GB, free: 35.01 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009315/0.6243, allocations: 0.9769 MB / 1.108 GB, free: 34.57 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.6254, allocations: 1.225 MB / 1.109 GB, free: 34.05 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.6264, allocations: 0.6709 MB / 1.11 GB, free: 33.87 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.6266, allocations: 157.8 kB / 1.11 GB, free: 33.87 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.6282, allocations: 1.036 MB / 1.111 GB, free: 33.63 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003236/0.6285, allocations: 459.5 kB / 1.112 GB, free: 33.39 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004643/0.6289, allocations: 0.5438 MB / 1.112 GB, free: 33.16 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002865/0.6318, allocations: 2.586 MB / 1.115 GB, free: 32.29 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6318, allocations: 1.75 kB / 1.115 GB, free: 32.29 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6318, allocations: 4 kB / 1.115 GB, free: 32.28 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.6318, allocations: 0 / 1.115 GB, free: 32.28 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.002273/0.6341, allocations: 1.888 MB / 1.117 GB, free: 31.09 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.6341, allocations: 13.47 kB / 1.117 GB, free: 31.08 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.6355, allocations: 379.9 kB / 1.117 GB, free: 30.98 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.6367, allocations: 0.9672 MB / 1.118 GB, free: 30.42 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.124e-05/0.6367, allocations: 86.17 kB / 1.118 GB, free: 30.38 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.6368, allocations: 114.5 kB / 1.118 GB, free: 30.35 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.6383, allocations: 1.547 MB / 1.12 GB, free: 29.36 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.6383, allocations: 5.312 kB / 1.12 GB, free: 29.35 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.09e-05/0.6384, allocations: 49.59 kB / 1.12 GB, free: 29.32 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.49e-05/0.6384, allocations: 45.89 kB / 1.12 GB, free: 29.31 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.64, allocations: 1.271 MB / 1.121 GB, free: 28.97 MB / 0.9948 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.003545/0.6435, allocations: 2.896 MB / 1.124 GB, free: 27.37 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.6448, allocations: 0.9931 MB / 1.125 GB, free: 26.98 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004723/0.6452, allocations: 387.4 kB / 1.125 GB, free: 26.83 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.085e-05/0.6453, allocations: 28.33 kB / 1.125 GB, free: 26.82 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007953/0.6461, allocations: 0.8028 MB / 1.126 GB, free: 26.33 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=110): time 3.256e-06/0.6461, allocations: 0 / 1.126 GB, free: 26.33 MB / 0.9948 GB Notification: Performance of matching and sorting (n=110): time 0.002302/0.6484, allocations: 1.407 MB / 1.127 GB, free: 25.82 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.6485, allocations: 207.4 kB / 1.128 GB, free: 25.59 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007878/0.6493, allocations: 0.8121 MB / 1.128 GB, free: 25.25 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.134e-05/0.6493, allocations: 56.06 kB / 1.128 GB, free: 25.2 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002877/0.6496, allocations: 0.5343 MB / 1.129 GB, free: 24.78 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.6498, allocations: 380.6 kB / 1.129 GB, free: 24.49 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.65, allocations: 221.2 kB / 1.13 GB, free: 24.39 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.068e-05/0.6501, allocations: 349.5 kB / 1.13 GB, free: 24.06 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004671/0.6506, allocations: 360.8 kB / 1.13 GB, free: 23.93 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/0.6512, allocations: 0.6325 MB / 1.131 GB, free: 23.52 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009876/0.6521, allocations: 0.8459 MB / 1.132 GB, free: 23.09 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.6521, allocations: 1.062 kB / 1.132 GB, free: 23.09 MB / 0.9948 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001519/0.6537, allocations: 1.157 MB / 1.133 GB, free: 22.62 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.6537, allocations: 6.531 kB / 1.133 GB, free: 22.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.485e-06/0.6537, allocations: 3.375 kB / 1.133 GB, free: 22.62 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003263/0.654, allocations: 86.55 kB / 1.133 GB, free: 22.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005211/0.6545, allocations: 229.7 kB / 1.133 GB, free: 22.57 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.6558, allocations: 1.497 MB / 1.135 GB, free: 21.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005915/0.6564, allocations: 117.7 kB / 1.135 GB, free: 21.14 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.617e-05/0.6564, allocations: 45.81 kB / 1.135 GB, free: 21.14 MB / 0.9948 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.0004015/0.6568, allocations: 336.6 kB / 1.135 GB, free: 20.89 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.657, allocations: 119.8 kB / 1.135 GB, free: 20.83 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/0.6588, allocations: 1.271 MB / 1.136 GB, free: 20.33 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.6588, allocations: 11.69 kB / 1.136 GB, free: 20.33 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.6588, allocations: 0 / 1.136 GB, free: 20.33 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/0.6588, allocations: 14.06 kB / 1.136 GB, free: 20.32 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002789/0.6616, allocations: 2.275 MB / 1.139 GB, free: 19.28 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.6616, allocations: 0 / 1.139 GB, free: 19.28 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004849/0.6621, allocations: 213.5 kB / 1.139 GB, free: 19.26 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002233/0.6623, allocations: 69.38 kB / 1.139 GB, free: 19.25 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.072e-05/0.6624, allocations: 36.83 kB / 1.139 GB, free: 19.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009266/0.6633, allocations: 1.525 MB / 1.14 GB, free: 17.85 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6633, allocations: 3.938 kB / 1.14 GB, free: 17.85 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.6653, allocations: 1.696 MB / 1.142 GB, free: 17.1 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003574/0.6657, allocations: 250.6 kB / 1.142 GB, free: 16.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.372e-05/0.6658, allocations: 33.91 kB / 1.142 GB, free: 16.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.6662, allocations: 72.34 kB / 1.142 GB, free: 16.91 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.6663, allocations: 88.16 kB / 1.142 GB, free: 16.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.343e-05/0.6664, allocations: 47.89 kB / 1.143 GB, free: 16.89 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0006003/0.667, allocations: 0.5598 MB / 1.143 GB, free: 16.66 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.667, allocations: 0 / 1.143 GB, free: 16.66 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001065/0.6681, allocations: 449.8 kB / 1.144 GB, free: 16.54 MB / 0.9948 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.001111/0.6692, allocations: 0.6831 MB / 1.144 GB, free: 16.29 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.6705, allocations: 1.009 MB / 1.145 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.6705, allocations: 5.484 kB / 1.145 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006261/0.6711, allocations: 0.5741 MB / 1.146 GB, free: 15.62 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.6723, allocations: 0.4902 MB / 1.146 GB, free: 15.45 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/0.6752, allocations: 2.44 MB / 1.149 GB, free: 14.15 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00056/0.6757, allocations: 0.5786 MB / 1.149 GB, free: 13.99 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.676, allocations: 142.8 kB / 1.149 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of SimCode: time 6.81e-07/0.676, allocations: 4 kB / 1.149 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of Templates: time 0.02334/0.6994, allocations: 25.8 MB / 1.174 GB, free: 5.918 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.014778128825128]