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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001039/0.00104, allocations: 91.92 kB / 16.02 MB, free: 80 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.001536/0.001537, allocations: 179.7 kB / 16.92 MB, free: 6.652 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.326/1.326, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.608/2.608, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003748, allocations: 9.969 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.293, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1631/0.4562, allocations: 161.6 MB / 1.217 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01182/0.4681, allocations: 7.719 MB / 1.225 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.4697, allocations: 31.81 kB / 1.225 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.4712, allocations: 325.9 kB / 1.225 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004136/0.4753, allocations: 1.194 MB / 1.226 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003132/0.4785, allocations: 1.018 MB / 1.227 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003687/0.4822, allocations: 2.551 MB / 1.23 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002006/0.4842, allocations: 0.9823 MB / 1.231 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00153/0.4858, allocations: 0.6181 MB / 1.231 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001762/0.4876, allocations: 0.6678 MB / 1.232 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003366/0.4879, allocations: 40 kB / 1.232 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002608/0.4905, allocations: 1.107 MB / 1.233 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005164/0.4911, allocations: 298.7 kB / 1.233 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.4922, allocations: 0.6581 MB / 1.234 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002642/0.4949, allocations: 1.742 MB / 1.236 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4949, allocations: 0 / 1.236 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4949, allocations: 0 / 1.236 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.855e-05/0.495, allocations: 0 / 1.236 GB, free: 15.77 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.00379/0.4988, allocations: 1.591 MB / 1.237 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.4988, allocations: 15.97 kB / 1.237 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/0.501, allocations: 337.8 kB / 1.237 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/0.5029, allocations: 0.9794 MB / 1.238 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.637e-05/0.503, allocations: 86.2 kB / 1.239 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.5032, allocations: 108 kB / 1.239 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.5053, allocations: 1.18 MB / 1.24 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.5054, allocations: 4 kB / 1.24 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.5055, allocations: 51.92 kB / 1.24 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.276e-05/0.5056, allocations: 42.06 kB / 1.24 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002134/0.5077, allocations: 1.32 MB / 1.241 GB, free: 9.875 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.006102/0.5138, allocations: 3.871 MB / 1.245 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.5156, allocations: 1.006 MB / 1.246 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006655/0.5163, allocations: 399.6 kB / 1.246 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.393e-05/0.5164, allocations: 37.03 kB / 1.246 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.5175, allocations: 0.5904 MB / 1.247 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=102): time 3.296e-06/0.5175, allocations: 0 / 1.247 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102): time 0.003724/0.5212, allocations: 1.462 MB / 1.248 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.5214, allocations: 192.9 kB / 1.249 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.5226, allocations: 0.8336 MB / 1.249 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.5227, allocations: 49.7 kB / 1.249 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004595/0.5232, allocations: 0.5159 MB / 1.25 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003097/0.5235, allocations: 343 kB / 1.25 GB, free: 248 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.5236, allocations: 85.67 kB / 1.25 GB, free: 156 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.5303/1.054, allocations: 341.9 kB / 1.251 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/1.055, allocations: 339.5 kB / 1.251 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009921/1.056, allocations: 485 kB / 1.251 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/1.058, allocations: 0.8076 MB / 1.252 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/1.058, allocations: 1.219 kB / 1.252 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002648/1.06, allocations: 1.084 MB / 1.253 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/1.06, allocations: 5.469 kB / 1.253 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.06, allocations: 3.203 kB / 1.253 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006475/1.061, allocations: 88.52 kB / 1.253 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000915/1.062, allocations: 220.9 kB / 1.254 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/1.064, allocations: 1.519 MB / 1.255 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/1.065, allocations: 134.8 kB / 1.255 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/1.065, allocations: 43.47 kB / 1.255 GB, free: 188.3 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.0006639/1.066, allocations: 328.9 kB / 1.256 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002622/1.066, allocations: 117.3 kB / 1.256 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002531/1.069, allocations: 1.257 MB / 1.257 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/1.069, allocations: 11.12 kB / 1.257 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.069, allocations: 3.938 kB / 1.257 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/1.069, allocations: 8.391 kB / 1.257 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/1.07, allocations: 1.151 MB / 1.258 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/1.07, allocations: 0 / 1.258 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008065/1.071, allocations: 208.8 kB / 1.258 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005195/1.072, allocations: 90.8 kB / 1.258 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.885e-05/1.072, allocations: 26.09 kB / 1.258 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/1.073, allocations: 1.561 MB / 1.26 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.073, allocations: 0 / 1.26 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002865/1.076, allocations: 1.591 MB / 1.261 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005973/1.077, allocations: 335.1 kB / 1.262 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/1.077, allocations: 26.36 kB / 1.262 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009967/1.078, allocations: 97.38 kB / 1.262 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/1.078, allocations: 80.47 kB / 1.262 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.824e-05/1.078, allocations: 42.97 kB / 1.262 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008785/1.079, allocations: 0.5832 MB / 1.263 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.079, allocations: 0 / 1.263 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001171/1.08, allocations: 425.9 kB / 1.263 GB, free: 186.1 MB / 0.9981 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.001466/1.082, allocations: 0.6273 MB / 1.264 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002056/1.084, allocations: 1.006 MB / 1.265 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.084, allocations: 3.5 kB / 1.265 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/1.085, allocations: 0.6011 MB / 1.265 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002453/1.088, allocations: 459.5 kB / 1.266 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005142/1.093, allocations: 3.168 MB / 1.269 GB, free: 184 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/1.094, allocations: 1.154 MB / 1.27 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005707/1.094, allocations: 140.4 kB / 1.27 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of SimCode: time 9.21e-07/1.094, allocations: 0.5938 kB / 1.27 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.04047/1.135, allocations: 24.45 MB / 1.294 GB, free: 174.2 MB / 0.9981 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