Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001689/0.001689, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.002147/0.002147, allocations: 166.3 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.455/1.455, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.938/2.938, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.277e-05/3.518e-05, allocations: 9.734 kB / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.01028/0.01032, allocations: 4.769 MB / 1.005 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.8553/0.8656, allocations: 132.8 MB / 1.134 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.8666, allocations: 23.91 kB / 1.134 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006403/0.8673, allocations: 212.6 kB / 1.135 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00181/0.8691, allocations: 0.5971 MB / 1.135 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001959/0.871, allocations: 0.887 MB / 1.136 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001602/0.8726, allocations: 1.543 MB / 1.138 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006667/0.8733, allocations: 415.3 kB / 1.138 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009411/0.8742, allocations: 0.7806 MB / 1.139 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005488/0.8748, allocations: 429.2 kB / 1.139 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.875, allocations: 127.4 kB / 1.139 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009659/0.8759, allocations: 0.4981 MB / 1.14 GB, free: 45.1 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002629/0.8762, allocations: 326.2 kB / 1.14 GB, free: 45.1 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004191/0.8766, allocations: 421 kB / 1.141 GB, free: 45.1 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001864/0.8785, allocations: 1.865 MB / 1.142 GB, free: 44.98 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8785, allocations: 0 / 1.142 GB, free: 44.98 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8785, allocations: 1.031 kB / 1.142 GB, free: 44.98 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.8785, allocations: 0 / 1.142 GB, free: 44.98 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002233/0.8807, allocations: 1.494 MB / 1.144 GB, free: 44.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.8808, allocations: 8.656 kB / 1.144 GB, free: 44.23 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/0.8825, allocations: 239.3 kB / 1.144 GB, free: 44.16 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/0.8841, allocations: 0.7443 MB / 1.145 GB, free: 43.9 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.369e-05/0.8842, allocations: 77.69 kB / 1.145 GB, free: 43.9 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.8844, allocations: 97.88 kB / 1.145 GB, free: 43.89 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002134/0.8865, allocations: 1.231 MB / 1.146 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.507e-05/0.8866, allocations: 1.203 kB / 1.146 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.8867, allocations: 36.72 kB / 1.146 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.8867, allocations: 23.75 kB / 1.146 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00243/0.8891, allocations: 1.099 MB / 1.147 GB, free: 43.43 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.005654/0.8948, allocations: 2.307 MB / 1.15 GB, free: 42.72 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002121/0.8969, allocations: 0.8424 MB / 1.15 GB, free: 42.68 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007669/0.8977, allocations: 317.9 kB / 1.151 GB, free: 42.66 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.8978, allocations: 25.08 kB / 1.151 GB, free: 42.66 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001221/0.899, allocations: 0.6318 MB / 1.151 GB, free: 42.45 MB / 1.076 GB Notification: Performance of pre-optimization done (n=93): time 5.701e-06/0.899, allocations: 0.75 kB / 1.151 GB, free: 42.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=93): time 0.004532/0.9035, allocations: 1.212 MB / 1.152 GB, free: 42.34 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/0.9036, allocations: 205.8 kB / 1.153 GB, free: 42.12 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.9047, allocations: 0.6294 MB / 1.153 GB, free: 41.99 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.9048, allocations: 52.72 kB / 1.153 GB, free: 41.96 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003962/0.9052, allocations: 424 kB / 1.154 GB, free: 41.75 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002621/0.9055, allocations: 306 kB / 1.154 GB, free: 41.56 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003553/0.9058, allocations: 187.4 kB / 1.154 GB, free: 41.54 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.906, allocations: 392 kB / 1.155 GB, free: 41.22 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007771/0.9068, allocations: 305.7 kB / 1.155 GB, free: 41.22 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009461/0.9077, allocations: 0.5245 MB / 1.155 GB, free: 41.02 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.9093, allocations: 0.6728 MB / 1.156 GB, free: 40.96 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.9094, allocations: 0 / 1.156 GB, free: 40.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002951/0.9123, allocations: 0.9578 MB / 1.157 GB, free: 40.86 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.9123, allocations: 5.719 kB / 1.157 GB, free: 40.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.9123, allocations: 1.203 kB / 1.157 GB, free: 40.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007981/0.9131, allocations: 85.14 kB / 1.157 GB, free: 40.85 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.9142, allocations: 183.1 kB / 1.157 GB, free: 40.85 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.9166, allocations: 1.506 MB / 1.159 GB, free: 39.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.9177, allocations: 97.33 kB / 1.159 GB, free: 39.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.9179, allocations: 39.33 kB / 1.159 GB, free: 39.59 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (113): * Single equations (assignments): 112 * 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.0006757/0.9185, allocations: 289.5 kB / 1.159 GB, free: 39.47 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002642/0.9188, allocations: 96.38 kB / 1.159 GB, free: 39.42 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003152/0.9219, allocations: 1.105 MB / 1.16 GB, free: 39.33 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.922, allocations: 10.69 kB / 1.16 GB, free: 39.33 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.922, allocations: 2.078 kB / 1.16 GB, free: 39.33 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.922, allocations: 6.141 kB / 1.16 GB, free: 39.33 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004411/0.9264, allocations: 1.947 MB / 1.162 GB, free: 38.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.9264, allocations: 0 / 1.162 GB, free: 38.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008894/0.9273, allocations: 166.8 kB / 1.162 GB, free: 38.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005521/0.9278, allocations: 74.3 kB / 1.162 GB, free: 38.95 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.088e-05/0.9279, allocations: 30.36 kB / 1.162 GB, free: 38.95 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/0.9299, allocations: 1.516 MB / 1.164 GB, free: 37.72 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.9299, allocations: 3.688 kB / 1.164 GB, free: 37.72 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003637/0.9335, allocations: 1.484 MB / 1.165 GB, free: 37.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006548/0.9342, allocations: 205.3 kB / 1.166 GB, free: 37.44 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.9344, allocations: 25.69 kB / 1.166 GB, free: 37.43 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009161/0.9353, allocations: 69.28 kB / 1.166 GB, free: 37.43 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/0.9355, allocations: 77.66 kB / 1.166 GB, free: 37.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.744e-05/0.9356, allocations: 37.27 kB / 1.166 GB, free: 37.43 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006949/0.9363, allocations: 453.2 kB / 1.166 GB, free: 37.34 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9363, allocations: 1.203 kB / 1.166 GB, free: 37.34 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001564/0.9379, allocations: 353.5 kB / 1.167 GB, free: 37.28 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (103): * Single equations (assignments): 92 * 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.002987/0.9408, allocations: 0.6705 MB / 1.167 GB, free: 37.08 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002868/0.9437, allocations: 0.868 MB / 1.168 GB, free: 36.95 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/0.9437, allocations: 1.062 kB / 1.168 GB, free: 36.95 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.9447, allocations: 0.5159 MB / 1.169 GB, free: 36.83 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.9463, allocations: 302 kB / 1.169 GB, free: 36.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00393/0.9503, allocations: 1.884 MB / 1.171 GB, free: 36.09 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005949/0.9508, allocations: 466.2 kB / 1.171 GB, free: 35.98 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009877/0.9518, allocations: 260.2 kB / 1.171 GB, free: 35.95 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003671/0.9522, allocations: 109.3 kB / 1.171 GB, free: 35.94 MB / 1.076 GB Notification: Performance of SimCode: time 1.042e-06/0.9522, allocations: 0.5625 kB / 1.171 GB, free: 35.94 MB / 1.076 GB Notification: Performance of Templates: time 0.03253/0.9847, allocations: 15.99 MB / 1.187 GB, free: 34.13 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.692476984113455]