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.001522/0.001522, allocations: 80.45 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.001525/0.001525, allocations: 160.8 kB / 22.45 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.468/1.468, allocations: 177.2 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.824/2.824, allocations: 377.8 MB / 0.6221 GB, free: 12.57 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.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.743e-06/1.743e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.793e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1956/0.1956, allocations: 146.3 MB / 1.124 GB, free: 9.078 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01399/0.2096, allocations: 7.532 MB / 1.132 GB, free: 1.531 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001683/0.2113, allocations: 47.62 kB / 1.132 GB, free: 1.484 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.2125, allocations: 408.8 kB / 1.132 GB, free: 1.082 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.6095/0.8221, allocations: 1.394 MB / 1.133 GB, free: 46.04 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00354/0.8256, allocations: 1.234 MB / 1.135 GB, free: 46.04 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003134/0.8287, allocations: 2.479 MB / 1.137 GB, free: 46.04 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.8301, allocations: 0.9793 MB / 1.138 GB, free: 45.98 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.8318, allocations: 1.246 MB / 1.139 GB, free: 45.98 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001428/0.8333, allocations: 0.661 MB / 1.14 GB, free: 45.98 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002395/0.8335, allocations: 158.9 kB / 1.14 GB, free: 45.98 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002204/0.8357, allocations: 1.039 MB / 1.141 GB, free: 45.98 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004404/0.8361, allocations: 464.7 kB / 1.142 GB, free: 45.98 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000638/0.8368, allocations: 0.5444 MB / 1.142 GB, free: 45.96 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003043/0.8398, allocations: 2.588 MB / 1.145 GB, free: 45.73 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.8398, allocations: 1 kB / 1.145 GB, free: 45.73 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8398, allocations: 0 / 1.145 GB, free: 45.73 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.135e-05/0.8398, allocations: 0 / 1.145 GB, free: 45.73 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.003067/0.8429, allocations: 1.891 MB / 1.146 GB, free: 44.79 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.843, allocations: 12.38 kB / 1.146 GB, free: 44.79 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002434/0.8454, allocations: 381.7 kB / 1.147 GB, free: 44.7 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.8469, allocations: 0.9646 MB / 1.148 GB, free: 44.4 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.76e-05/0.847, allocations: 84.67 kB / 1.148 GB, free: 44.39 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.8471, allocations: 113.5 kB / 1.148 GB, free: 44.39 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/0.8491, allocations: 1.548 MB / 1.149 GB, free: 43.77 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/0.8491, allocations: 4.859 kB / 1.149 GB, free: 43.77 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.8492, allocations: 54.05 kB / 1.149 GB, free: 43.77 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-05/0.8493, allocations: 38.2 kB / 1.15 GB, free: 43.77 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.8512, allocations: 1.271 MB / 1.151 GB, free: 43.75 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.005152/0.8563, allocations: 2.904 MB / 1.154 GB, free: 42.9 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.858, allocations: 0.9985 MB / 1.155 GB, free: 42.87 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006072/0.8586, allocations: 388.9 kB / 1.155 GB, free: 42.86 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.13e-05/0.8587, allocations: 24.8 kB / 1.155 GB, free: 42.86 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009636/0.8596, allocations: 0.8065 MB / 1.156 GB, free: 42.54 MB / 1.076 GB Notification: Performance of pre-optimization done (n=110): time 3.277e-06/0.8596, allocations: 0 / 1.156 GB, free: 42.54 MB / 1.076 GB Notification: Performance of matching and sorting (n=110): time 0.00364/0.8633, allocations: 1.406 MB / 1.157 GB, free: 42.41 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.8633, allocations: 206.4 kB / 1.157 GB, free: 42.19 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009565/0.8643, allocations: 0.8117 MB / 1.158 GB, free: 42.06 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.8644, allocations: 54.36 kB / 1.158 GB, free: 42.03 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003423/0.8647, allocations: 0.5418 MB / 1.159 GB, free: 41.79 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.865, allocations: 372.2 kB / 1.159 GB, free: 41.55 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/0.8653, allocations: 222.2 kB / 1.159 GB, free: 41.52 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.995e-05/0.8653, allocations: 348.1 kB / 1.16 GB, free: 41.22 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006293/0.866, allocations: 359.5 kB / 1.16 GB, free: 41.22 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007508/0.8667, allocations: 0.6266 MB / 1.161 GB, free: 40.96 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.868, allocations: 0.8488 MB / 1.161 GB, free: 40.86 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.868, allocations: 0 / 1.161 GB, free: 40.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00238/0.8704, allocations: 1.155 MB / 1.163 GB, free: 40.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.8704, allocations: 14.38 kB / 1.163 GB, free: 40.72 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.8705, allocations: 3.656 kB / 1.163 GB, free: 40.72 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000619/0.8711, allocations: 85.06 kB / 1.163 GB, free: 40.71 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008877/0.872, allocations: 223.2 kB / 1.163 GB, free: 40.71 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/0.8738, allocations: 1.503 MB / 1.164 GB, free: 39.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.875, allocations: 116 kB / 1.164 GB, free: 39.45 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.753e-05/0.8751, allocations: 46.66 kB / 1.164 GB, free: 39.45 MB / 1.076 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.0007537/0.8759, allocations: 336 kB / 1.165 GB, free: 39.33 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/0.8762, allocations: 118.7 kB / 1.165 GB, free: 39.27 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002959/0.8791, allocations: 1.272 MB / 1.166 GB, free: 39.17 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.851e-05/0.8792, allocations: 16.66 kB / 1.166 GB, free: 39.16 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.8792, allocations: 1.656 kB / 1.166 GB, free: 39.16 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.8792, allocations: 7.891 kB / 1.166 GB, free: 39.16 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004658/0.8838, allocations: 2.278 MB / 1.168 GB, free: 38.79 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.8838, allocations: 1.375 kB / 1.168 GB, free: 38.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009199/0.8848, allocations: 208.9 kB / 1.169 GB, free: 38.79 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004623/0.8852, allocations: 75.62 kB / 1.169 GB, free: 38.78 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.124e-05/0.8853, allocations: 36.3 kB / 1.169 GB, free: 38.78 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/0.887, allocations: 1.532 MB / 1.17 GB, free: 37.55 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.887, allocations: 0.7188 kB / 1.17 GB, free: 37.55 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003457/0.8905, allocations: 1.693 MB / 1.172 GB, free: 37.32 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006948/0.8912, allocations: 255.2 kB / 1.172 GB, free: 37.23 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.8914, allocations: 26.94 kB / 1.172 GB, free: 37.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009343/0.8923, allocations: 72.36 kB / 1.172 GB, free: 37.23 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/0.8925, allocations: 89.53 kB / 1.172 GB, free: 37.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-05/0.8926, allocations: 46.41 kB / 1.172 GB, free: 37.23 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009383/0.8936, allocations: 0.5593 MB / 1.173 GB, free: 37.14 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.8936, allocations: 0 / 1.173 GB, free: 37.14 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001678/0.8952, allocations: 457 kB / 1.173 GB, free: 37.07 MB / 1.076 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.002276/0.8975, allocations: 0.6798 MB / 1.174 GB, free: 36.87 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002241/0.8998, allocations: 1.007 MB / 1.175 GB, free: 36.74 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.8998, allocations: 1.625 kB / 1.175 GB, free: 36.74 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.9008, allocations: 0.5828 MB / 1.176 GB, free: 36.62 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/0.9032, allocations: 491.1 kB / 1.176 GB, free: 36.56 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/0.9074, allocations: 2.391 MB / 1.178 GB, free: 35.66 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006379/0.9081, allocations: 0.5792 MB / 1.179 GB, free: 35.52 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001153/0.9092, allocations: 325.5 kB / 1.179 GB, free: 35.47 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000382/0.9096, allocations: 131.8 kB / 1.179 GB, free: 35.46 MB / 1.076 GB Notification: Performance of SimCode: time 1.012e-06/0.9096, allocations: 0 / 1.179 GB, free: 35.46 MB / 1.076 GB Notification: Performance of Templates: time 0.04263/0.9522, allocations: 21.79 MB / 1.201 GB, free: 33.12 MB / 1.076 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: 9.827846501022577]