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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 160.3 kB / 23.01 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.618/2.618, allocations: 359.1 MB / 0.6044 GB, free: 14.95 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 71.81 kB / 0.9515 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.296, allocations: 169.9 MB / 1.117 GB, free: 2.625 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.6795/0.9754, allocations: 146.3 MB / 1.26 GB, free: 13.62 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01331/0.9887, allocations: 7.528 MB / 1.268 GB, free: 8.508 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.9901, allocations: 46.62 kB / 1.268 GB, free: 8.484 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.9912, allocations: 397.9 kB / 1.268 GB, free: 8.246 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004235/0.9955, allocations: 1.382 MB / 1.269 GB, free: 7.453 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003472/0.9989, allocations: 1.192 MB / 1.271 GB, free: 6.801 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003645/1.003, allocations: 2.401 MB / 1.273 GB, free: 5.609 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001551/1.004, allocations: 0.9698 MB / 1.274 GB, free: 5.113 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001324/1.005, allocations: 0.8647 MB / 1.275 GB, free: 4.699 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001567/1.007, allocations: 0.7506 MB / 1.275 GB, free: 4.371 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002368/1.007, allocations: 153.5 kB / 1.276 GB, free: 4.371 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002424/1.01, allocations: 1.017 MB / 1.277 GB, free: 4.059 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005229/1.01, allocations: 443.9 kB / 1.277 GB, free: 3.797 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008135/1.011, allocations: 0.6358 MB / 1.278 GB, free: 3.438 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003788/1.015, allocations: 2.458 MB / 1.28 GB, free: 2.445 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.015, allocations: 0 / 1.28 GB, free: 2.445 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.403e-06/1.015, allocations: 1.469 kB / 1.28 GB, free: 2.445 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.303e-05/1.015, allocations: 0 / 1.28 GB, free: 2.445 MB / 1.123 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.003789/1.019, allocations: 1.877 MB / 1.282 GB, free: 1.25 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/1.019, allocations: 9.938 kB / 1.282 GB, free: 1.25 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002501/1.021, allocations: 376.5 kB / 1.282 GB, free: 1.145 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/1.023, allocations: 0.9591 MB / 1.283 GB, free: 0.5664 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.394e-05/1.023, allocations: 80.19 kB / 1.283 GB, free: 0.5312 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/1.023, allocations: 108.4 kB / 1.283 GB, free: 0.4961 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/1.026, allocations: 1.528 MB / 1.285 GB, free: 15.51 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/1.026, allocations: 1.406 kB / 1.285 GB, free: 15.51 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/1.026, allocations: 43.81 kB / 1.285 GB, free: 15.48 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.47e-05/1.026, allocations: 43.31 kB / 1.285 GB, free: 15.47 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002332/1.028, allocations: 1.263 MB / 1.286 GB, free: 15.14 MB / 1.139 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.005334/1.034, allocations: 2.748 MB / 1.289 GB, free: 13.57 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/1.035, allocations: 0.9344 MB / 1.29 GB, free: 13.2 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007232/1.036, allocations: 371.2 kB / 1.29 GB, free: 13.05 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.16e-05/1.036, allocations: 23.47 kB / 1.29 GB, free: 13.05 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001199/1.037, allocations: 0.7924 MB / 1.291 GB, free: 12.55 MB / 1.139 GB Notification: Performance of pre-optimization done (n=102): time 2.875e-06/1.037, allocations: 9.25 kB / 1.291 GB, free: 12.55 MB / 1.139 GB Notification: Performance of matching and sorting (n=102): time 0.003825/1.041, allocations: 1.365 MB / 1.292 GB, free: 12.04 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/1.041, allocations: 197.5 kB / 1.292 GB, free: 11.82 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/1.043, allocations: 0.8051 MB / 1.293 GB, free: 11.48 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-05/1.043, allocations: 49.36 kB / 1.293 GB, free: 11.43 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000499/1.043, allocations: 0.5482 MB / 1.294 GB, free: 11 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003466/1.044, allocations: 356.8 kB / 1.294 GB, free: 10.72 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003193/1.044, allocations: 195.3 kB / 1.294 GB, free: 10.63 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001669/1.044, allocations: 343.8 kB / 1.295 GB, free: 10.31 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006639/1.045, allocations: 336 kB / 1.295 GB, free: 10.19 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009248/1.046, allocations: 0.6032 MB / 1.296 GB, free: 9.793 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/1.047, allocations: 0.7986 MB / 1.296 GB, free: 9.391 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/1.047, allocations: 1.219 kB / 1.296 GB, free: 9.391 MB / 1.139 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002463/1.05, allocations: 1.076 MB / 1.297 GB, free: 8.953 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/1.05, allocations: 6.344 kB / 1.297 GB, free: 8.953 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/1.05, allocations: 8.672 kB / 1.297 GB, free: 8.949 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006299/1.05, allocations: 86.03 kB / 1.298 GB, free: 8.93 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000895/1.051, allocations: 216.5 kB / 1.298 GB, free: 8.91 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/1.053, allocations: 1.495 MB / 1.299 GB, free: 7.547 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/1.054, allocations: 108.8 kB / 1.299 GB, free: 7.488 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-05/1.054, allocations: 45.81 kB / 1.299 GB, free: 7.48 MB / 1.139 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.0005158/1.055, allocations: 328.7 kB / 1.3 GB, free: 7.246 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/1.055, allocations: 120.6 kB / 1.3 GB, free: 7.184 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00282/1.058, allocations: 1.24 MB / 1.301 GB, free: 6.688 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/1.058, allocations: 10.25 kB / 1.301 GB, free: 6.688 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/1.058, allocations: 1.156 kB / 1.301 GB, free: 6.688 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/1.058, allocations: 5.906 kB / 1.301 GB, free: 6.688 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/1.059, allocations: 0.8331 MB / 1.302 GB, free: 6.266 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/1.059, allocations: 4 kB / 1.302 GB, free: 6.262 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009243/1.06, allocations: 208.6 kB / 1.302 GB, free: 6.242 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/1.061, allocations: 70.53 kB / 1.302 GB, free: 6.227 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.598e-05/1.061, allocations: 34.12 kB / 1.302 GB, free: 6.207 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002041/1.063, allocations: 1.527 MB / 1.304 GB, free: 4.77 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.063, allocations: 0 / 1.304 GB, free: 4.77 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003164/1.066, allocations: 1.575 MB / 1.305 GB, free: 3.941 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005741/1.067, allocations: 246.8 kB / 1.305 GB, free: 3.758 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/1.067, allocations: 30.95 kB / 1.305 GB, free: 3.734 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008875/1.068, allocations: 71.78 kB / 1.305 GB, free: 3.699 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/1.068, allocations: 87.3 kB / 1.306 GB, free: 3.645 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.189e-05/1.068, allocations: 46.84 kB / 1.306 GB, free: 3.625 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008373/1.069, allocations: 0.5634 MB / 1.306 GB, free: 3.305 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.069, allocations: 0 / 1.306 GB, free: 3.305 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001255/1.07, allocations: 444.7 kB / 1.307 GB, free: 3.184 MB / 1.139 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.002167/1.072, allocations: 0.6589 MB / 1.307 GB, free: 2.887 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00204/1.074, allocations: 0.9644 MB / 1.308 GB, free: 2.387 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.074, allocations: 1.25 kB / 1.308 GB, free: 2.387 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/1.075, allocations: 0.5639 MB / 1.309 GB, free: 2.07 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/1.077, allocations: 486.2 kB / 1.309 GB, free: 1.824 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004107/1.081, allocations: 2.487 MB / 1.312 GB, free: 308 kB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005801/1.082, allocations: 0.5791 MB / 1.312 GB, free: 15.98 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009648/1.083, allocations: 325.1 kB / 1.312 GB, free: 15.82 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/1.083, allocations: 122.3 kB / 1.313 GB, free: 15.79 MB / 1.154 GB Notification: Performance of SimCode: time 6.42e-07/1.083, allocations: 4 kB / 1.313 GB, free: 15.79 MB / 1.154 GB Notification: Performance of Templates: time 0.03764/1.121, allocations: 21.41 MB / 1.334 GB, free: 11.03 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (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 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.481469216989353]