Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon.T",fileNamePrefix="Buildings_11_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.001286/0.001286, allocations: 105 kB / 15.99 MB, free: 6.355 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.001285/0.001285, allocations: 199.1 kB / 16.91 MB, free: 6.188 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.403/1.403, allocations: 222.9 MB / 240.6 MB, free: 15.46 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.652/2.652, allocations: 469.8 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 65.19 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3144, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.7223/1.037, allocations: 163.8 MB / 1.224 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01306/1.05, allocations: 7.71 MB / 1.232 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001756/1.052, allocations: 32.38 kB / 1.232 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001324/1.053, allocations: 336.7 kB / 1.232 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003836/1.057, allocations: 1.204 MB / 1.233 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00299/1.06, allocations: 1.052 MB / 1.234 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003163/1.063, allocations: 2.351 MB / 1.236 GB, free: 8.789 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/1.065, allocations: 1.186 MB / 1.238 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/1.066, allocations: 0.8056 MB / 1.238 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001714/1.068, allocations: 0.8156 MB / 1.239 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.00028/1.068, allocations: 152 kB / 1.239 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00235/1.071, allocations: 1.135 MB / 1.24 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004542/1.071, allocations: 430.6 kB / 1.241 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0009359/1.072, allocations: 0.7813 MB / 1.242 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002762/1.075, allocations: 1.797 MB / 1.243 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.075, allocations: 0 / 1.243 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.433e-06/1.075, allocations: 0 / 1.243 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.781e-05/1.075, allocations: 4 kB / 1.243 GB, free: 1.664 MB / 0.9512 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.003537/1.079, allocations: 1.876 MB / 1.245 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/1.079, allocations: 8.031 kB / 1.245 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001942/1.081, allocations: 329.7 kB / 1.246 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/1.082, allocations: 0.9795 MB / 1.246 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.7e-05/1.082, allocations: 83.89 kB / 1.247 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/1.083, allocations: 108 kB / 1.247 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/1.085, allocations: 1.168 MB / 1.248 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/1.085, allocations: 7.938 kB / 1.248 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/1.085, allocations: 52 kB / 1.248 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-05/1.085, allocations: 38.12 kB / 1.248 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/1.087, allocations: 1.312 MB / 1.249 GB, free: 11.53 MB / 0.9669 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.006136/1.093, allocations: 3.835 MB / 1.253 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/1.095, allocations: 0.997 MB / 1.254 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006927/1.096, allocations: 396.3 kB / 1.254 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.673e-05/1.096, allocations: 29.03 kB / 1.254 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/1.097, allocations: 0.5911 MB / 1.255 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=102): time 2.946e-06/1.097, allocations: 0 / 1.255 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of matching and sorting (n=102): time 0.003796/1.101, allocations: 1.439 MB / 1.256 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/1.101, allocations: 196.9 kB / 1.256 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/1.102, allocations: 0.8376 MB / 1.257 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.533e-05/1.102, allocations: 41.7 kB / 1.257 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004687/1.103, allocations: 0.5237 MB / 1.258 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/1.103, allocations: 343 kB / 1.258 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003144/1.104, allocations: 202.5 kB / 1.258 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001648/1.104, allocations: 341.9 kB / 1.259 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006618/1.104, allocations: 337.8 kB / 1.259 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008171/1.105, allocations: 476.2 kB / 1.259 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/1.107, allocations: 0.801 MB / 1.26 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.107, allocations: 4 kB / 1.26 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00252/1.109, allocations: 1.082 MB / 1.261 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/1.109, allocations: 4 kB / 1.261 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/1.109, allocations: 7.688 kB / 1.261 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006407/1.11, allocations: 88.98 kB / 1.261 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008932/1.111, allocations: 215.7 kB / 1.262 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/1.113, allocations: 1.642 MB / 1.263 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/1.114, allocations: 119.1 kB / 1.263 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.365e-05/1.115, allocations: 39.98 kB / 1.263 GB, free: 12.42 MB / 0.9825 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.0006536/1.115, allocations: 327.3 kB / 1.264 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/1.116, allocations: 114.6 kB / 1.264 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002795/1.118, allocations: 1.246 MB / 1.265 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/1.118, allocations: 12 kB / 1.265 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.118, allocations: 3.984 kB / 1.265 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/1.118, allocations: 3.984 kB / 1.265 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/1.12, allocations: 1.169 MB / 1.266 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/1.12, allocations: 0 / 1.266 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009246/1.121, allocations: 207.7 kB / 1.266 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000471/1.122, allocations: 80.77 kB / 1.266 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.262e-05/1.122, allocations: 23.98 kB / 1.266 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/1.124, allocations: 1.659 MB / 1.268 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/1.124, allocations: 3.938 kB / 1.268 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003166/1.127, allocations: 1.574 MB / 1.27 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005452/1.127, allocations: 319.3 kB / 1.27 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/1.128, allocations: 27.98 kB / 1.27 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008673/1.128, allocations: 79.83 kB / 1.27 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/1.129, allocations: 80.89 kB / 1.27 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.55e-05/1.129, allocations: 43.97 kB / 1.27 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008288/1.13, allocations: 0.578 MB / 1.271 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/1.13, allocations: 0 / 1.271 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001048/1.131, allocations: 435 kB / 1.271 GB, free: 4.195 MB / 0.9825 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.001916/1.133, allocations: 0.6244 MB / 1.272 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003071/1.136, allocations: 1.273 MB / 1.273 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.136, allocations: 0 / 1.273 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/1.137, allocations: 0.6096 MB / 1.274 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/1.139, allocations: 486.5 kB / 1.274 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004635/1.143, allocations: 3.041 MB / 1.277 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008082/1.144, allocations: 1.158 MB / 1.278 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004246/1.145, allocations: 139.4 kB / 1.278 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/1.145, allocations: 0 / 1.278 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of Templates: time 0.03384/1.179, allocations: 24.61 MB / 1.302 GB, free: 4.477 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches