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.00135/0.00135, 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.001338/0.001338, 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.293/1.293, 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.438/2.438, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.89 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7846/0.7859, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.169/0.9548, allocations: 166.1 MB / 1.371 GB, free: 6.93 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01228/0.9672, allocations: 7.803 MB / 1.378 GB, free: 15.11 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.969, allocations: 35.81 kB / 1.378 GB, free: 15.07 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.9706, allocations: 409 kB / 1.379 GB, free: 14.67 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004385/0.9751, allocations: 1.352 MB / 1.38 GB, free: 13.31 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003187/0.9783, allocations: 1.168 MB / 1.381 GB, free: 12.15 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003227/0.9815, allocations: 2.379 MB / 1.383 GB, free: 9.766 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001989/0.9836, allocations: 1.182 MB / 1.385 GB, free: 8.566 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001523/0.9851, allocations: 0.8308 MB / 1.385 GB, free: 7.734 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001695/0.9868, allocations: 0.796 MB / 1.386 GB, free: 6.938 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0004083/0.9872, allocations: 148 kB / 1.386 GB, free: 6.793 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002356/0.9896, allocations: 1.131 MB / 1.387 GB, free: 5.66 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005183/0.9901, allocations: 426.7 kB / 1.388 GB, free: 5.242 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.9912, allocations: 0.7774 MB / 1.389 GB, free: 4.461 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003484/0.9947, allocations: 2.407 MB / 1.391 GB, free: 2.047 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.9948, allocations: 0 / 1.391 GB, free: 2.047 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.412e-06/0.9948, allocations: 3.938 kB / 1.391 GB, free: 2.043 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.88e-05/0.9948, allocations: 0 / 1.391 GB, free: 2.043 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.003338/0.9982, allocations: 1.875 MB / 1.393 GB, free: 108 kB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.9982, allocations: 12.03 kB / 1.393 GB, free: 96 kB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/1, allocations: 325.8 kB / 1.393 GB, free: 15.77 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/1.002, allocations: 1.015 MB / 1.394 GB, free: 14.71 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.545e-05/1.002, allocations: 82.2 kB / 1.394 GB, free: 14.63 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/1.002, allocations: 111.9 kB / 1.394 GB, free: 14.52 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/1.004, allocations: 1.172 MB / 1.395 GB, free: 13.28 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/1.004, allocations: 0 / 1.395 GB, free: 13.28 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/1.004, allocations: 52 kB / 1.395 GB, free: 13.23 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.022e-05/1.004, allocations: 46 kB / 1.396 GB, free: 13.18 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/1.006, allocations: 1.304 MB / 1.397 GB, free: 11.87 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.00542/1.011, allocations: 3.811 MB / 1.401 GB, free: 7.844 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/1.013, allocations: 0.9984 MB / 1.401 GB, free: 6.844 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006236/1.014, allocations: 399.7 kB / 1.402 GB, free: 6.449 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.937e-05/1.014, allocations: 37.02 kB / 1.402 GB, free: 6.414 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009692/1.015, allocations: 0.5865 MB / 1.402 GB, free: 5.809 MB / 1.123 GB Notification: Performance of pre-optimization done (n=102): time 3.035e-06/1.015, allocations: 0 / 1.402 GB, free: 5.809 MB / 1.123 GB Notification: Performance of matching and sorting (n=102): time 0.003536/1.018, allocations: 1.443 MB / 1.404 GB, free: 4.34 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.893e-05/1.018, allocations: 192.9 kB / 1.404 GB, free: 4.105 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/1.02, allocations: 0.8298 MB / 1.405 GB, free: 3.25 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-05/1.02, allocations: 49.7 kB / 1.405 GB, free: 3.195 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004046/1.02, allocations: 0.5236 MB / 1.405 GB, free: 2.664 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000266/1.02, allocations: 339.1 kB / 1.406 GB, free: 2.328 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000277/1.021, allocations: 206.4 kB / 1.406 GB, free: 2.121 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.021, allocations: 345.9 kB / 1.406 GB, free: 1.777 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006205/1.021, allocations: 341.8 kB / 1.407 GB, free: 1.445 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007242/1.022, allocations: 476.1 kB / 1.407 GB, free: 0.9453 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/1.023, allocations: 0.801 MB / 1.408 GB, free: 120 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.023, allocations: 4 kB / 1.408 GB, free: 116 kB / 1.123 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002268/1.026, allocations: 1.075 MB / 1.409 GB, free: 15.03 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/1.026, allocations: 4 kB / 1.409 GB, free: 15.02 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.026, allocations: 4.281 kB / 1.409 GB, free: 15.02 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005858/1.026, allocations: 84.78 kB / 1.409 GB, free: 14.93 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008373/1.027, allocations: 219.7 kB / 1.409 GB, free: 14.72 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/1.029, allocations: 1.63 MB / 1.411 GB, free: 12.95 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/1.03, allocations: 107.2 kB / 1.411 GB, free: 12.84 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/1.031, allocations: 43.97 kB / 1.411 GB, free: 12.8 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.0007183/1.031, allocations: 323.5 kB / 1.411 GB, free: 12.47 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003207/1.032, allocations: 118.6 kB / 1.411 GB, free: 12.35 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002765/1.034, allocations: 1.236 MB / 1.413 GB, free: 11.1 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/1.034, allocations: 16 kB / 1.413 GB, free: 11.08 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.034, allocations: 0 / 1.413 GB, free: 11.08 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/1.034, allocations: 7.969 kB / 1.413 GB, free: 11.07 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/1.036, allocations: 1.157 MB / 1.414 GB, free: 9.867 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/1.036, allocations: 0 / 1.414 GB, free: 9.867 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008713/1.037, allocations: 211.8 kB / 1.414 GB, free: 9.66 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004496/1.037, allocations: 76.73 kB / 1.414 GB, free: 9.582 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.999e-05/1.038, allocations: 31.97 kB / 1.414 GB, free: 9.551 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/1.039, allocations: 1.654 MB / 1.416 GB, free: 7.754 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.04, allocations: 7.922 kB / 1.416 GB, free: 7.746 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003188/1.043, allocations: 1.57 MB / 1.417 GB, free: 6.152 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006014/1.043, allocations: 327.3 kB / 1.417 GB, free: 5.812 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002676/1.044, allocations: 27.91 kB / 1.418 GB, free: 5.785 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009487/1.045, allocations: 73.48 kB / 1.418 GB, free: 5.715 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/1.045, allocations: 80.89 kB / 1.418 GB, free: 5.637 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/1.045, allocations: 39.97 kB / 1.418 GB, free: 5.598 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009328/1.046, allocations: 0.5819 MB / 1.418 GB, free: 5.004 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.8e-07/1.046, allocations: 0 / 1.418 GB, free: 5.004 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001323/1.047, allocations: 427 kB / 1.419 GB, free: 4.586 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.001654/1.049, allocations: 0.6243 MB / 1.419 GB, free: 4.141 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002241/1.051, allocations: 0.9913 MB / 1.42 GB, free: 3.137 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.051, allocations: 4 kB / 1.42 GB, free: 3.133 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001138/1.052, allocations: 0.606 MB / 1.421 GB, free: 2.516 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/1.055, allocations: 0.4897 MB / 1.421 GB, free: 2.047 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004622/1.059, allocations: 2.486 MB / 1.424 GB, free: 15.52 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000901/1.06, allocations: 1.157 MB / 1.425 GB, free: 14.34 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005008/1.061, allocations: 139.4 kB / 1.425 GB, free: 14.2 MB / 1.154 GB Notification: Performance of SimCode: time 7.81e-07/1.061, allocations: 0 / 1.425 GB, free: 14.2 MB / 1.154 GB Notification: Performance of Templates: time 0.03338/1.094, allocations: 24.74 MB / 1.449 GB, free: 5.562 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