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 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.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.001154/0.001154, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.867/2.867, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001855, allocations: 63.28 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3313, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1724/0.5037, allocations: 166.1 MB / 1.23 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01245/0.5162, allocations: 7.808 MB / 1.238 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/0.5176, allocations: 35.81 kB / 1.238 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.5189, allocations: 389 kB / 1.238 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003603/0.5225, allocations: 1.331 MB / 1.24 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003219/0.5258, allocations: 1.158 MB / 1.241 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002996/0.5288, allocations: 2.352 MB / 1.243 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/0.5305, allocations: 1.182 MB / 1.244 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.5319, allocations: 0.8134 MB / 1.245 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.5334, allocations: 0.79 MB / 1.246 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003595/0.5338, allocations: 152 kB / 1.246 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002299/0.5361, allocations: 1.1 MB / 1.247 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005134/0.5366, allocations: 426.7 kB / 1.247 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.5377, allocations: 0.7812 MB / 1.248 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.6511/1.189, allocations: 2.355 MB / 1.251 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/1.189, allocations: 0 / 1.251 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.186e-06/1.189, allocations: 0 / 1.251 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.977e-05/1.189, allocations: 0.6875 kB / 1.251 GB, free: 12.24 MB / 0.9981 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.005141/1.194, allocations: 1.879 MB / 1.252 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/1.194, allocations: 11.66 kB / 1.252 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002354/1.197, allocations: 331.2 kB / 1.253 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/1.198, allocations: 0.9753 MB / 1.254 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/1.199, allocations: 90.05 kB / 1.254 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000201/1.199, allocations: 104.5 kB / 1.254 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002359/1.201, allocations: 1.172 MB / 1.255 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/1.201, allocations: 0.7188 kB / 1.255 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/1.201, allocations: 50.69 kB / 1.255 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.974e-05/1.201, allocations: 41.34 kB / 1.255 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002785/1.204, allocations: 1.311 MB / 1.256 GB, free: 10.71 MB / 0.9981 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.007346/1.212, allocations: 3.838 MB / 1.26 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/1.213, allocations: 0.9943 MB / 1.261 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006418/1.214, allocations: 399.4 kB / 1.261 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.008e-05/1.214, allocations: 31.17 kB / 1.261 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/1.215, allocations: 0.5977 MB / 1.262 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=102): time 2.815e-06/1.215, allocations: 0.9375 kB / 1.262 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102): time 0.00379/1.219, allocations: 1.434 MB / 1.263 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.363e-05/1.219, allocations: 193.8 kB / 1.264 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/1.22, allocations: 0.8333 MB / 1.264 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/1.221, allocations: 48.95 kB / 1.264 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004472/1.221, allocations: 0.517 MB / 1.265 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003077/1.221, allocations: 343.6 kB / 1.265 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003349/1.222, allocations: 198.3 kB / 1.265 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001019/1.222, allocations: 344.8 kB / 1.266 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006732/1.222, allocations: 335.5 kB / 1.266 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007788/1.223, allocations: 483.3 kB / 1.267 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/1.225, allocations: 0.7934 MB / 1.267 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/1.225, allocations: 4 kB / 1.267 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002434/1.227, allocations: 1.077 MB / 1.268 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/1.227, allocations: 6.344 kB / 1.268 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/1.227, allocations: 2.75 kB / 1.268 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006369/1.228, allocations: 89.5 kB / 1.269 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00091/1.229, allocations: 216.5 kB / 1.269 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/1.231, allocations: 1.64 MB / 1.27 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/1.232, allocations: 113.5 kB / 1.27 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/1.232, allocations: 45.39 kB / 1.27 GB, free: 5.934 MB / 0.9981 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.001218/1.233, allocations: 321.8 kB / 1.271 GB, free: 21.82 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002791/1.234, allocations: 114.9 kB / 1.271 GB, free: 21.76 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003006/1.237, allocations: 1.244 MB / 1.272 GB, free: 21.66 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/1.237, allocations: 19.11 kB / 1.272 GB, free: 21.66 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/1.237, allocations: 0 / 1.272 GB, free: 21.66 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.005e-05/1.237, allocations: 7.719 kB / 1.272 GB, free: 21.66 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/1.239, allocations: 1.16 MB / 1.273 GB, free: 21.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/1.239, allocations: 1.438 kB / 1.273 GB, free: 21.43 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009269/1.24, allocations: 210 kB / 1.273 GB, free: 21.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004765/1.24, allocations: 74.47 kB / 1.274 GB, free: 21.43 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.867e-05/1.24, allocations: 30.44 kB / 1.274 GB, free: 21.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/1.242, allocations: 1.662 MB / 1.275 GB, free: 20.04 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.242, allocations: 0.6562 kB / 1.275 GB, free: 20.04 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004023/1.246, allocations: 1.572 MB / 1.277 GB, free: 19.87 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007645/1.247, allocations: 321.9 kB / 1.277 GB, free: 19.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003498/1.248, allocations: 25.97 kB / 1.277 GB, free: 19.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/1.249, allocations: 68.22 kB / 1.277 GB, free: 19.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/1.249, allocations: 86.33 kB / 1.277 GB, free: 19.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/1.249, allocations: 45.69 kB / 1.277 GB, free: 19.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001173/1.25, allocations: 0.5798 MB / 1.278 GB, free: 19.59 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.6e-07/1.25, allocations: 0.8438 kB / 1.278 GB, free: 19.59 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001673/1.252, allocations: 428.9 kB / 1.278 GB, free: 19.53 MB / 1.014 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.001704/1.254, allocations: 0.6253 MB / 1.279 GB, free: 19.36 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003514/1.257, allocations: 1.271 MB / 1.28 GB, free: 19.22 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/1.257, allocations: 2.5 kB / 1.28 GB, free: 19.22 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001309/1.258, allocations: 0.5958 MB / 1.281 GB, free: 19.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/1.261, allocations: 0.4906 MB / 1.281 GB, free: 19.04 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00522/1.266, allocations: 2.463 MB / 1.284 GB, free: 18.16 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/1.268, allocations: 1.155 MB / 1.285 GB, free: 17.46 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00173/1.269, allocations: 333.6 kB / 1.285 GB, free: 17.39 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000468/1.27, allocations: 121.6 kB / 1.285 GB, free: 17.39 MB / 1.014 GB Notification: Performance of SimCode: time 1.213e-06/1.27, allocations: 3.938 kB / 1.285 GB, free: 17.38 MB / 1.014 GB Notification: Performance of Templates: time 0.0468/1.317, allocations: 20.86 MB / 1.305 GB, free: 16.01 MB / 1.014 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches