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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001587/0.001588, allocations: 187 kB / 17.34 MB, free: 5.762 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.54/2.54, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 63.89 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8115/0.8131, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1685/0.9816, allocations: 166.1 MB / 1.371 GB, free: 6.934 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01203/0.9937, allocations: 7.815 MB / 1.378 GB, free: 15.1 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/0.9951, allocations: 35.81 kB / 1.378 GB, free: 15.06 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.9964, allocations: 397 kB / 1.379 GB, free: 14.67 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004015/1, allocations: 1.321 MB / 1.38 GB, free: 13.35 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003116/1.004, allocations: 1.179 MB / 1.381 GB, free: 12.18 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003505/1.007, allocations: 2.356 MB / 1.383 GB, free: 9.812 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002042/1.009, allocations: 1.182 MB / 1.385 GB, free: 8.613 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/1.011, allocations: 0.8308 MB / 1.385 GB, free: 7.781 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/1.013, allocations: 0.7866 MB / 1.386 GB, free: 6.996 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0004017/1.013, allocations: 148 kB / 1.386 GB, free: 6.852 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002393/1.015, allocations: 1.127 MB / 1.387 GB, free: 5.723 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005648/1.016, allocations: 426.6 kB / 1.388 GB, free: 5.305 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001173/1.017, allocations: 0.7813 MB / 1.389 GB, free: 4.52 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004053/1.021, allocations: 2.418 MB / 1.391 GB, free: 2.094 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.021, allocations: 0 / 1.391 GB, free: 2.094 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.864e-06/1.021, allocations: 0 / 1.391 GB, free: 2.094 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.521e-05/1.021, allocations: 0 / 1.391 GB, free: 2.094 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.004101/1.026, allocations: 1.868 MB / 1.393 GB, free: 168 kB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/1.026, allocations: 15.97 kB / 1.393 GB, free: 152 kB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/1.028, allocations: 329.7 kB / 1.393 GB, free: 15.82 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/1.029, allocations: 1.015 MB / 1.394 GB, free: 14.77 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.659e-05/1.029, allocations: 86.19 kB / 1.394 GB, free: 14.68 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/1.03, allocations: 111.9 kB / 1.394 GB, free: 14.57 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/1.032, allocations: 1.172 MB / 1.395 GB, free: 13.33 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/1.032, allocations: 3.938 kB / 1.395 GB, free: 13.32 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/1.032, allocations: 48 kB / 1.395 GB, free: 13.28 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.946e-05/1.032, allocations: 42.06 kB / 1.395 GB, free: 13.23 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002212/1.034, allocations: 1.3 MB / 1.397 GB, free: 11.93 MB / 1.123 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.006251/1.041, allocations: 3.811 MB / 1.4 GB, free: 7.898 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/1.043, allocations: 1.001 MB / 1.401 GB, free: 6.895 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007134/1.043, allocations: 395.7 kB / 1.402 GB, free: 6.504 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.92e-05/1.044, allocations: 33.03 kB / 1.402 GB, free: 6.473 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/1.045, allocations: 0.5904 MB / 1.402 GB, free: 5.863 MB / 1.123 GB Notification: Performance of pre-optimization done (n=102): time 4.198e-06/1.045, allocations: 0 / 1.402 GB, free: 5.863 MB / 1.123 GB Notification: Performance of matching and sorting (n=102): time 0.003807/1.048, allocations: 1.443 MB / 1.404 GB, free: 4.395 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/1.049, allocations: 192.9 kB / 1.404 GB, free: 4.16 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/1.05, allocations: 0.8298 MB / 1.405 GB, free: 3.305 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/1.05, allocations: 49.7 kB / 1.405 GB, free: 3.25 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004889/1.051, allocations: 0.5236 MB / 1.405 GB, free: 2.719 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003356/1.051, allocations: 339.1 kB / 1.406 GB, free: 2.383 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003298/1.051, allocations: 202.4 kB / 1.406 GB, free: 2.18 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.051, allocations: 345.9 kB / 1.406 GB, free: 1.836 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006841/1.052, allocations: 341.8 kB / 1.407 GB, free: 1.504 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008029/1.053, allocations: 476.2 kB / 1.407 GB, free: 1.004 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/1.054, allocations: 0.7932 MB / 1.408 GB, free: 188 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/1.054, allocations: 4 kB / 1.408 GB, free: 184 kB / 1.123 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002559/1.057, allocations: 1.079 MB / 1.409 GB, free: 15.09 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/1.057, allocations: 7.938 kB / 1.409 GB, free: 15.08 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/1.057, allocations: 4 kB / 1.409 GB, free: 15.07 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006436/1.058, allocations: 84.98 kB / 1.409 GB, free: 14.99 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009172/1.059, allocations: 215.7 kB / 1.409 GB, free: 14.78 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/1.061, allocations: 1.642 MB / 1.411 GB, free: 12.99 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/1.062, allocations: 107.2 kB / 1.411 GB, free: 12.89 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/1.062, allocations: 43.97 kB / 1.411 GB, free: 12.84 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (124): * Single equations (assignments): 123 * 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.0007911/1.063, allocations: 323.4 kB / 1.411 GB, free: 12.52 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003864/1.064, allocations: 114.6 kB / 1.411 GB, free: 12.41 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002907/1.066, allocations: 1.244 MB / 1.413 GB, free: 11.14 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/1.066, allocations: 12 kB / 1.413 GB, free: 11.13 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/1.066, allocations: 4 kB / 1.413 GB, free: 11.13 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/1.066, allocations: 3.984 kB / 1.413 GB, free: 11.12 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/1.068, allocations: 1.161 MB / 1.414 GB, free: 9.918 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/1.068, allocations: 0 / 1.414 GB, free: 9.918 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009012/1.069, allocations: 211.7 kB / 1.414 GB, free: 9.711 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004714/1.07, allocations: 72.78 kB / 1.414 GB, free: 9.637 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.22e-05/1.07, allocations: 27.98 kB / 1.414 GB, free: 9.609 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/1.072, allocations: 1.662 MB / 1.416 GB, free: 7.805 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.072, allocations: 3.938 kB / 1.416 GB, free: 7.801 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003323/1.075, allocations: 1.578 MB / 1.417 GB, free: 6.199 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006173/1.076, allocations: 323.3 kB / 1.417 GB, free: 5.863 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002458/1.076, allocations: 27.91 kB / 1.417 GB, free: 5.836 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009406/1.077, allocations: 67.92 kB / 1.418 GB, free: 5.77 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/1.077, allocations: 80.89 kB / 1.418 GB, free: 5.691 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.23e-05/1.077, allocations: 40.03 kB / 1.418 GB, free: 5.652 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008912/1.078, allocations: 0.5819 MB / 1.418 GB, free: 5.059 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.345e-06/1.078, allocations: 4 kB / 1.418 GB, free: 5.055 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001304/1.079, allocations: 431 kB / 1.419 GB, free: 4.633 MB / 1.139 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: 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 (113): * Single equations (assignments): 107 * 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.001573/1.081, allocations: 0.6203 MB / 1.419 GB, free: 4.191 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002158/1.083, allocations: 0.9917 MB / 1.42 GB, free: 3.188 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.083, allocations: 4 kB / 1.42 GB, free: 3.184 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/1.084, allocations: 0.6016 MB / 1.421 GB, free: 2.57 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/1.087, allocations: 0.4889 MB / 1.421 GB, free: 2.105 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004657/1.091, allocations: 2.479 MB / 1.424 GB, free: 15.59 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008408/1.092, allocations: 1.157 MB / 1.425 GB, free: 14.4 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005082/1.093, allocations: 135.4 kB / 1.425 GB, free: 14.27 MB / 1.154 GB Notification: Performance of SimCode: time 1.743e-06/1.093, allocations: 0 / 1.425 GB, free: 14.27 MB / 1.154 GB Notification: Performance of Templates: time 0.03221/1.125, allocations: 24.73 MB / 1.449 GB, free: 5.625 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches