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.00144/0.00144, allocations: 101 kB / 16.27 MB, free: 5.965 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.0014/0.0014, allocations: 192.1 kB / 17.2 MB, free: 5.594 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.389/1.389, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.725/2.725, allocations: 482.4 MB / 0.7553 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 72.56 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7963/0.7983, allocations: 162.2 MB / 1.083 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2206/1.019, allocations: 166.1 MB / 1.245 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01356/1.033, allocations: 7.82 MB / 1.253 GB, free: 492 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/1.035, allocations: 31.81 kB / 1.253 GB, free: 460 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001451/1.036, allocations: 397 kB / 1.253 GB, free: 60 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004383/1.041, allocations: 1.32 MB / 1.254 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003068/1.044, allocations: 1.158 MB / 1.256 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003714/1.047, allocations: 2.36 MB / 1.258 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002161/1.049, allocations: 1.175 MB / 1.259 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/1.051, allocations: 0.8447 MB / 1.26 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001711/1.053, allocations: 0.7934 MB / 1.261 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002839/1.053, allocations: 148 kB / 1.261 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002632/1.056, allocations: 1.096 MB / 1.262 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005122/1.056, allocations: 430.6 kB / 1.262 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001032/1.057, allocations: 0.7891 MB / 1.263 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004035/1.061, allocations: 2.364 MB / 1.265 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/1.061, allocations: 0 / 1.265 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.763e-06/1.061, allocations: 0 / 1.265 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.628e-05/1.061, allocations: 0 / 1.265 GB, free: 3.547 MB / 0.9825 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.003785/1.065, allocations: 1.875 MB / 1.267 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/1.065, allocations: 8.031 kB / 1.267 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/1.067, allocations: 329.7 kB / 1.267 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/1.069, allocations: 0.9795 MB / 1.268 GB, free: 260 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.16e-05/1.069, allocations: 82.2 kB / 1.269 GB, free: 176 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/1.069, allocations: 111.9 kB / 1.269 GB, free: 64 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/1.071, allocations: 1.168 MB / 1.27 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/1.071, allocations: 0 / 1.27 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/1.071, allocations: 55.98 kB / 1.27 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.845e-05/1.072, allocations: 42.06 kB / 1.27 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002229/1.074, allocations: 1.304 MB / 1.271 GB, free: 13.41 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.006294/1.08, allocations: 3.914 MB / 1.275 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/1.082, allocations: 0.993 MB / 1.276 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006938/1.083, allocations: 395.7 kB / 1.276 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.562e-05/1.083, allocations: 41.02 kB / 1.276 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/1.084, allocations: 0.5865 MB / 1.277 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=102): time 3.216e-06/1.084, allocations: 0 / 1.277 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102): time 0.003934/1.088, allocations: 1.439 MB / 1.278 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/1.088, allocations: 196.9 kB / 1.279 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/1.089, allocations: 0.8337 MB / 1.279 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/1.089, allocations: 45.7 kB / 1.279 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005148/1.09, allocations: 0.5236 MB / 1.28 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003502/1.09, allocations: 347.1 kB / 1.28 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003298/1.091, allocations: 202.4 kB / 1.28 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001748/1.091, allocations: 341.9 kB / 1.281 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006719/1.091, allocations: 333.8 kB / 1.281 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008243/1.092, allocations: 480.2 kB / 1.281 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/1.094, allocations: 0.801 MB / 1.282 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/1.094, allocations: 0 / 1.282 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002562/1.096, allocations: 1.075 MB / 1.283 GB, free: 480 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/1.096, allocations: 11.94 kB / 1.283 GB, free: 468 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/1.096, allocations: 0 / 1.283 GB, free: 468 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006322/1.097, allocations: 88.98 kB / 1.283 GB, free: 376 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008543/1.098, allocations: 215.6 kB / 1.284 GB, free: 160 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/1.1, allocations: 1.638 MB / 1.285 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/1.101, allocations: 109.5 kB / 1.285 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.374e-05/1.101, allocations: 51.97 kB / 1.285 GB, free: 14.22 MB / 1.014 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.0006433/1.102, allocations: 311.4 kB / 1.286 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/1.102, allocations: 118.6 kB / 1.286 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002752/1.105, allocations: 1.248 MB / 1.287 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/1.105, allocations: 16 kB / 1.287 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/1.105, allocations: 0 / 1.287 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/1.105, allocations: 3.984 kB / 1.287 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/1.107, allocations: 1.169 MB / 1.288 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.107, allocations: 0 / 1.288 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008759/1.108, allocations: 203.8 kB / 1.288 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004484/1.108, allocations: 72.78 kB / 1.288 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.187e-05/1.108, allocations: 31.98 kB / 1.288 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002101/1.11, allocations: 1.666 MB / 1.29 GB, free: 9.18 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.11, allocations: 3.938 kB / 1.29 GB, free: 9.176 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003254/1.114, allocations: 1.566 MB / 1.292 GB, free: 7.586 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005676/1.114, allocations: 331.3 kB / 1.292 GB, free: 7.242 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/1.114, allocations: 24.14 kB / 1.292 GB, free: 7.219 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008055/1.115, allocations: 67.92 kB / 1.292 GB, free: 7.152 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/1.115, allocations: 84.88 kB / 1.292 GB, free: 7.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-05/1.115, allocations: 43.97 kB / 1.292 GB, free: 7.027 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008561/1.116, allocations: 0.578 MB / 1.293 GB, free: 6.438 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.114e-06/1.116, allocations: 4 kB / 1.293 GB, free: 6.434 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001105/1.117, allocations: 438.9 kB / 1.293 GB, free: 6.004 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.002002/1.119, allocations: 0.6157 MB / 1.294 GB, free: 5.566 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003211/1.123, allocations: 1.269 MB / 1.295 GB, free: 4.281 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.123, allocations: 4.125 kB / 1.295 GB, free: 4.277 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/1.124, allocations: 0.6016 MB / 1.296 GB, free: 3.664 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/1.126, allocations: 491.3 kB / 1.296 GB, free: 3.203 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004831/1.131, allocations: 2.515 MB / 1.298 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008785/1.132, allocations: 1.158 MB / 1.3 GB, free: 15.47 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004614/1.132, allocations: 131.4 kB / 1.3 GB, free: 15.34 MB / 1.029 GB Notification: Performance of SimCode: time 3.065e-06/1.132, allocations: 0 / 1.3 GB, free: 15.34 MB / 1.029 GB Notification: Performance of Templates: time 0.03786/1.17, allocations: 24.61 MB / 1.324 GB, free: 6.82 MB / 1.045 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=400 -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