Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 111.6 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 192.2 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.649/2.649, allocations: 482.2 MB / 0.7548 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 68.22 kB / 0.9238 GB, free: 0.5234 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7374/0.7393, allocations: 162.2 MB / 1.082 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007068/0.7465, allocations: 5.133 MB / 1.087 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1814/0.928, allocations: 148.4 MB / 1.232 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/0.9291, allocations: 19.88 kB / 1.232 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008242/0.93, allocations: 154.8 kB / 1.232 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002204/0.9322, allocations: 0.4932 MB / 1.233 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00214/0.9344, allocations: 0.7489 MB / 1.233 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001947/0.9363, allocations: 1.42 MB / 1.235 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009145/0.9372, allocations: 0.5874 MB / 1.235 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007661/0.938, allocations: 494.3 kB / 1.236 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006303/0.9387, allocations: 0.5134 MB / 1.236 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.9388, allocations: 127.9 kB / 1.237 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009134/0.9397, allocations: 459.6 kB / 1.237 GB, free: 320 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002814/0.94, allocations: 299.1 kB / 1.237 GB, free: 20 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005737/0.9406, allocations: 0.5869 MB / 1.238 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.9422, allocations: 1.236 MB / 1.239 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.9422, allocations: 0 / 1.239 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.018e-06/0.9422, allocations: 0 / 1.239 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.735e-05/0.9423, allocations: 3.938 kB / 1.239 GB, free: 14.19 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002667/0.9449, allocations: 1.463 MB / 1.24 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.945, allocations: 12.03 kB / 1.24 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000945/0.9459, allocations: 187.3 kB / 1.241 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.9471, allocations: 0.7507 MB / 1.241 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.224e-05/0.9471, allocations: 70 kB / 1.241 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.9473, allocations: 87.98 kB / 1.242 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.9489, allocations: 0.9379 MB / 1.242 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.949, allocations: 0 / 1.242 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.643e-05/0.949, allocations: 39.98 kB / 1.242 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.9491, allocations: 20 kB / 1.243 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.9509, allocations: 1.12 MB / 1.244 GB, free: 9.371 MB / 0.9669 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.004464/0.9554, allocations: 2.838 MB / 1.246 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.9569, allocations: 0.8133 MB / 1.247 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000546/0.9575, allocations: 313.9 kB / 1.247 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.834e-05/0.9576, allocations: 32.59 kB / 1.247 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009734/0.9586, allocations: 0.4913 MB / 1.248 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=82): time 3.606e-06/0.9586, allocations: 0 / 1.248 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of matching and sorting (n=82): time 0.003313/0.9619, allocations: 1.203 MB / 1.249 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.962, allocations: 196.5 kB / 1.249 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008764/0.9629, allocations: 0.6488 MB / 1.25 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.838e-05/0.963, allocations: 41.7 kB / 1.25 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/0.9634, allocations: 404.4 kB / 1.25 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/0.9636, allocations: 272.1 kB / 1.251 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002683/0.9639, allocations: 162.5 kB / 1.251 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.9641, allocations: 386.8 kB / 1.251 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005346/0.9646, allocations: 273.8 kB / 1.251 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006346/0.9653, allocations: 371 kB / 1.252 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.9664, allocations: 0.6151 MB / 1.252 GB, free: 68 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.9664, allocations: 0 / 1.252 GB, free: 68 kB / 0.9669 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002026/0.9684, allocations: 0.8643 MB / 1.253 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.9685, allocations: 4 kB / 1.253 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.9685, allocations: 0 / 1.253 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006088/0.9691, allocations: 84.86 kB / 1.253 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006708/0.9698, allocations: 175.7 kB / 1.253 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.972, allocations: 1.619 MB / 1.255 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007641/0.9727, allocations: 103.3 kB / 1.255 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.248e-05/0.9728, allocations: 35.97 kB / 1.255 GB, free: 13.03 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (97): * Single equations (assignments): 96 * 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.0004764/0.9733, allocations: 271.4 kB / 1.255 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.9735, allocations: 86.95 kB / 1.256 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/0.9759, allocations: 1.073 MB / 1.257 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.9759, allocations: 8 kB / 1.257 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.9759, allocations: 0 / 1.257 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.9759, allocations: 11.98 kB / 1.257 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.9771, allocations: 0.8996 MB / 1.257 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.9771, allocations: 0 / 1.257 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006271/0.9777, allocations: 151.8 kB / 1.258 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004469/0.9782, allocations: 80.66 kB / 1.258 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-05/0.9783, allocations: 23.98 kB / 1.258 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/0.9803, allocations: 1.658 MB / 1.259 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/0.9803, allocations: 0 / 1.259 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002649/0.9829, allocations: 1.34 MB / 1.261 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003901/0.9834, allocations: 271.8 kB / 1.261 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.9835, allocations: 19.94 kB / 1.261 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006297/0.9841, allocations: 72.05 kB / 1.261 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.9843, allocations: 76.89 kB / 1.261 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.057e-05/0.9844, allocations: 35.92 kB / 1.261 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006093/0.985, allocations: 463 kB / 1.262 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.985, allocations: 0 / 1.262 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008423/0.9859, allocations: 331.2 kB / 1.262 GB, free: 5.934 MB / 0.9825 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00188/0.9877, allocations: 0.6025 MB / 1.262 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00256/0.9903, allocations: 1.046 MB / 1.263 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.9903, allocations: 0 / 1.263 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009287/0.9913, allocations: 0.5198 MB / 1.264 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.9925, allocations: 310.1 kB / 1.264 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/0.996, allocations: 2.255 MB / 1.266 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006592/0.9967, allocations: 1.023 MB / 1.267 GB, free: 296 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003436/0.997, allocations: 119.4 kB / 1.268 GB, free: 176 kB / 0.9825 GB Notification: Performance of SimCode: time 7.52e-07/0.9971, allocations: 0 / 1.268 GB, free: 176 kB / 0.9825 GB Notification: Performance of Templates: time 0.02551/1.023, allocations: 18.76 MB / 1.286 GB, free: 13.46 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches