Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009414/0.0009414, allocations: 72.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.000869/0.000869, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8626/0.8626, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.71/1.71, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] 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.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.261e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.6445/0.6445, allocations: 146.3 MB / 1.144 GB, free: 8.727 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.009295/0.6538, allocations: 7.55 MB / 1.151 GB, free: 3.602 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007079/0.6545, allocations: 42.66 kB / 1.151 GB, free: 3.582 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0008329/0.6553, allocations: 409.7 kB / 1.152 GB, free: 3.332 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002285/0.6576, allocations: 1.402 MB / 1.153 GB, free: 2.516 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.6595, allocations: 1.229 MB / 1.154 GB, free: 1.836 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.00181/0.6613, allocations: 2.471 MB / 1.157 GB, free: 0.5781 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.6623, allocations: 0.9845 MB / 1.158 GB, free: 72 kB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.6637, allocations: 1.245 MB / 1.159 GB, free: 15.5 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.6647, allocations: 0.6658 MB / 1.159 GB, free: 15.26 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001652/0.6649, allocations: 159.8 kB / 1.16 GB, free: 15.26 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.6664, allocations: 1.037 MB / 1.161 GB, free: 14.93 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0003541/0.6668, allocations: 460.2 kB / 1.161 GB, free: 14.65 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.000459/0.6672, allocations: 0.5505 MB / 1.162 GB, free: 14.38 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.002623/0.6698, allocations: 2.585 MB / 1.164 GB, free: 13.36 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.6698, allocations: 1.406 kB / 1.164 GB, free: 13.36 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6698, allocations: 0 / 1.164 GB, free: 13.36 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.622e-05/0.6699, allocations: 3.938 kB / 1.164 GB, free: 13.36 MB / 1.026 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.002274/0.6721, allocations: 1.883 MB / 1.166 GB, free: 12.16 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.6722, allocations: 10.38 kB / 1.166 GB, free: 12.16 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.6734, allocations: 381.2 kB / 1.166 GB, free: 12.05 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.6746, allocations: 0.9688 MB / 1.167 GB, free: 11.48 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/0.6747, allocations: 87.19 kB / 1.167 GB, free: 11.44 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.6748, allocations: 117 kB / 1.167 GB, free: 11.4 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.6763, allocations: 1.551 MB / 1.169 GB, free: 10.4 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.6763, allocations: 0 / 1.169 GB, free: 10.4 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.513e-05/0.6764, allocations: 50.05 kB / 1.169 GB, free: 10.37 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.505e-05/0.6764, allocations: 39.44 kB / 1.169 GB, free: 10.36 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/0.6779, allocations: 1.267 MB / 1.17 GB, free: 10.03 MB / 1.026 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.00348/0.6814, allocations: 2.904 MB / 1.173 GB, free: 8.383 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.6827, allocations: 0.9834 MB / 1.174 GB, free: 7.996 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004468/0.6832, allocations: 388.7 kB / 1.174 GB, free: 7.84 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 6.515e-05/0.6832, allocations: 32.94 kB / 1.174 GB, free: 7.832 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008039/0.684, allocations: 0.8102 MB / 1.175 GB, free: 7.336 MB / 1.026 GB Notification: Performance of pre-optimization done (n=110): time 2.334e-06/0.684, allocations: 0 / 1.175 GB, free: 7.336 MB / 1.026 GB Notification: Performance of matching and sorting (n=110): time 0.002217/0.6863, allocations: 1.408 MB / 1.177 GB, free: 6.82 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.272e-05/0.6863, allocations: 199.3 kB / 1.177 GB, free: 6.598 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007369/0.6871, allocations: 0.8098 MB / 1.178 GB, free: 6.258 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 6.571e-05/0.6872, allocations: 56.08 kB / 1.178 GB, free: 6.207 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.6875, allocations: 0.5381 MB / 1.178 GB, free: 5.785 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/0.6877, allocations: 377.1 kB / 1.179 GB, free: 5.484 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.6879, allocations: 212 kB / 1.179 GB, free: 5.387 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.688, allocations: 354.1 kB / 1.179 GB, free: 5.059 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/0.6885, allocations: 365.9 kB / 1.179 GB, free: 4.93 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005701/0.689, allocations: 0.6278 MB / 1.18 GB, free: 4.52 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009478/0.69, allocations: 0.8416 MB / 1.181 GB, free: 4.094 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.69, allocations: 1.781 kB / 1.181 GB, free: 4.094 MB / 1.026 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001433/0.6914, allocations: 1.154 MB / 1.182 GB, free: 3.625 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.6914, allocations: 7.906 kB / 1.182 GB, free: 3.625 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.6915, allocations: 3.25 kB / 1.182 GB, free: 3.625 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002951/0.6917, allocations: 94.17 kB / 1.182 GB, free: 3.598 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004683/0.6922, allocations: 222.2 kB / 1.182 GB, free: 3.578 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.6934, allocations: 1.513 MB / 1.184 GB, free: 2.199 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004691/0.6939, allocations: 100.7 kB / 1.184 GB, free: 2.148 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.455e-05/0.6939, allocations: 51.39 kB / 1.184 GB, free: 2.137 MB / 1.026 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.0003579/0.6943, allocations: 337.4 kB / 1.184 GB, free: 1.898 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.6944, allocations: 121 kB / 1.184 GB, free: 1.836 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.696, allocations: 1.265 MB / 1.186 GB, free: 1.336 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.696, allocations: 16.25 kB / 1.186 GB, free: 1.332 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.696, allocations: 0 / 1.186 GB, free: 1.332 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.696, allocations: 11.22 kB / 1.186 GB, free: 1.328 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/0.6987, allocations: 2.264 MB / 1.188 GB, free: 272 kB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.6987, allocations: 0 / 1.188 GB, free: 272 kB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004637/0.6992, allocations: 217.1 kB / 1.188 GB, free: 248 kB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002045/0.6994, allocations: 73.03 kB / 1.188 GB, free: 228 kB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.747e-05/0.6994, allocations: 30.88 kB / 1.188 GB, free: 212 kB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.7005, allocations: 1.534 MB / 1.19 GB, free: 14.82 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.7005, allocations: 3.938 kB / 1.19 GB, free: 14.81 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.7024, allocations: 1.679 MB / 1.191 GB, free: 14.07 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/0.7027, allocations: 257.8 kB / 1.192 GB, free: 13.93 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.292e-05/0.7028, allocations: 26.44 kB / 1.192 GB, free: 13.91 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003994/0.7032, allocations: 71.41 kB / 1.192 GB, free: 13.89 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.7033, allocations: 88.19 kB / 1.192 GB, free: 13.88 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-05/0.7033, allocations: 43.25 kB / 1.192 GB, free: 13.87 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0005127/0.7039, allocations: 0.5597 MB / 1.192 GB, free: 13.64 MB / 1.042 GB Notification: Performance of sort global known variables: time 3e-08/0.7039, allocations: 0 / 1.192 GB, free: 13.64 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0009088/0.7048, allocations: 456.6 kB / 1.193 GB, free: 13.52 MB / 1.042 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 (120): * Single equations (assignments): 109 * 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.001136/0.7059, allocations: 0.6813 MB / 1.193 GB, free: 13.24 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.001306/0.7072, allocations: 1.005 MB / 1.194 GB, free: 12.84 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.7072, allocations: 0 / 1.194 GB, free: 12.84 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006662/0.7079, allocations: 0.5896 MB / 1.195 GB, free: 12.57 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.7091, allocations: 478.9 kB / 1.195 GB, free: 12.41 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/0.712, allocations: 2.433 MB / 1.198 GB, free: 11.11 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.7125, allocations: 0.5745 MB / 1.198 GB, free: 10.95 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/0.7127, allocations: 145.2 kB / 1.198 GB, free: 10.93 MB / 1.042 GB Notification: Performance of SimCode: time 8.12e-07/0.7127, allocations: 0 / 1.198 GB, free: 10.93 MB / 1.042 GB Notification: Performance of Templates: time 0.02017/0.7329, allocations: 25.78 MB / 1.224 GB, free: 7.422 MB / 1.057 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.568638888187706]