Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 106.5 kB / 15.99 MB, free: 6.352 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.00154/0.00154, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.716/2.716, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001915, allocations: 61.64 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3223, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007403/0.3297, allocations: 4.938 MB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6855/1.015, allocations: 148.4 MB / 1.214 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008415/1.016, allocations: 15.16 kB / 1.214 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006496/1.017, allocations: 149.6 kB / 1.214 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001813/1.019, allocations: 494.3 kB / 1.214 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00188/1.021, allocations: 0.736 MB / 1.215 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001683/1.022, allocations: 1.37 MB / 1.217 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008757/1.023, allocations: 0.577 MB / 1.217 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008183/1.024, allocations: 483.9 kB / 1.218 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00066/1.025, allocations: 0.4992 MB / 1.218 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000148/1.025, allocations: 114 kB / 1.218 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009295/1.026, allocations: 451.9 kB / 1.219 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002834/1.026, allocations: 289 kB / 1.219 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005763/1.027, allocations: 0.5569 MB / 1.219 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001738/1.028, allocations: 1.203 MB / 1.221 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.028, allocations: 3.938 kB / 1.221 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.573e-06/1.028, allocations: 4 kB / 1.221 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.831e-05/1.028, allocations: 1.125 kB / 1.221 GB, free: 6.812 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002869/1.031, allocations: 1.426 MB / 1.222 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/1.031, allocations: 10.78 kB / 1.222 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009803/1.032, allocations: 185.4 kB / 1.222 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/1.034, allocations: 0.7435 MB / 1.223 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.943e-05/1.034, allocations: 60.69 kB / 1.223 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/1.034, allocations: 80.53 kB / 1.223 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/1.035, allocations: 0.9082 MB / 1.224 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/1.035, allocations: 0 / 1.224 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.583e-05/1.036, allocations: 34.59 kB / 1.224 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/1.036, allocations: 20.16 kB / 1.224 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/1.037, allocations: 1.106 MB / 1.225 GB, free: 3.781 MB / 0.9356 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.004651/1.042, allocations: 2.757 MB / 1.228 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/1.044, allocations: 0.7852 MB / 1.228 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005456/1.044, allocations: 295.9 kB / 1.229 GB, free: 248 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.941e-05/1.044, allocations: 28.61 kB / 1.229 GB, free: 220 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/1.045, allocations: 487.1 kB / 1.229 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=78): time 4.699e-06/1.045, allocations: 8 kB / 1.229 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=78): time 0.003487/1.049, allocations: 1.17 MB / 1.23 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/1.049, allocations: 196.6 kB / 1.231 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009545/1.05, allocations: 0.637 MB / 1.231 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/1.05, allocations: 41.7 kB / 1.231 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003742/1.05, allocations: 400.3 kB / 1.232 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/1.051, allocations: 252.2 kB / 1.232 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002687/1.051, allocations: 162.5 kB / 1.232 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002181/1.051, allocations: 390.7 kB / 1.232 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005524/1.052, allocations: 265.8 kB / 1.233 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000668/1.052, allocations: 364 kB / 1.233 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/1.054, allocations: 0.6003 MB / 1.234 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.054, allocations: 0 / 1.234 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002153/1.056, allocations: 0.8448 MB / 1.234 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/1.056, allocations: 7.938 kB / 1.234 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.056, allocations: 6.5 kB / 1.234 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006454/1.056, allocations: 84.89 kB / 1.235 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006916/1.057, allocations: 151.8 kB / 1.235 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/1.06, allocations: 1.646 MB / 1.236 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009122/1.061, allocations: 95.31 kB / 1.236 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.571e-05/1.061, allocations: 31.98 kB / 1.236 GB, free: 8.125 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0005186/1.061, allocations: 271.4 kB / 1.237 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/1.061, allocations: 82.97 kB / 1.237 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002543/1.064, allocations: 1.047 MB / 1.238 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/1.064, allocations: 8 kB / 1.238 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/1.064, allocations: 0 / 1.238 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/1.064, allocations: 7.922 kB / 1.238 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/1.065, allocations: 0.8817 MB / 1.239 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.065, allocations: 4 kB / 1.239 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005928/1.066, allocations: 139.8 kB / 1.239 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004749/1.066, allocations: 76.77 kB / 1.239 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.493e-05/1.066, allocations: 23.98 kB / 1.239 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/1.069, allocations: 1.662 MB / 1.24 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.069, allocations: 0 / 1.24 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/1.071, allocations: 0.916 MB / 1.241 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004658/1.071, allocations: 275.7 kB / 1.242 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/1.071, allocations: 20 kB / 1.242 GB, free: 2.469 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006332/1.072, allocations: 64.91 kB / 1.242 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/1.072, allocations: 64.91 kB / 1.242 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.459e-05/1.072, allocations: 39.64 kB / 1.242 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006635/1.073, allocations: 459 kB / 1.242 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.71e-07/1.073, allocations: 4 kB / 1.242 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009734/1.074, allocations: 327.1 kB / 1.243 GB, free: 1.539 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.001909/1.076, allocations: 0.5974 MB / 1.243 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002436/1.078, allocations: 1.008 MB / 1.244 GB, free: 100 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.078, allocations: 4 kB / 1.244 GB, free: 96 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/1.079, allocations: 0.5158 MB / 1.245 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/1.081, allocations: 297.8 kB / 1.245 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/1.084, allocations: 2.115 MB / 1.247 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006836/1.085, allocations: 1.019 MB / 1.248 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003684/1.085, allocations: 115.4 kB / 1.248 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of SimCode: time 7.62e-07/1.085, allocations: 0 / 1.248 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of Templates: time 0.0277/1.113, allocations: 18.32 MB / 1.266 GB, free: 9.711 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches