Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002256/0.002256, allocations: 189.5 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.132/3.132, allocations: 496 MB / 0.7835 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 61.73 kB / 1.138 GB, free: 33.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3119, allocations: 173.6 MB / 1.307 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007286/0.3191, allocations: 5.007 MB / 1.312 GB, free: 12.83 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.182/0.5012, allocations: 151.2 MB / 1.46 GB, free: 5.051 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007244/0.5019, allocations: 23.81 kB / 1.46 GB, free: 5.027 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005817/0.5025, allocations: 194.3 kB / 1.46 GB, free: 4.836 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001556/0.504, allocations: 0.5509 MB / 1.461 GB, free: 4.285 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.5059, allocations: 0.848 MB / 1.461 GB, free: 3.441 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001477/0.5073, allocations: 1.373 MB / 1.463 GB, free: 2.062 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006897/0.508, allocations: 406 kB / 1.463 GB, free: 1.637 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006127/0.5086, allocations: 498.3 kB / 1.464 GB, free: 1.148 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005793/0.5092, allocations: 0.4978 MB / 1.464 GB, free: 0.6484 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.5094, allocations: 116 kB / 1.464 GB, free: 0.5352 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008635/0.5102, allocations: 483.6 kB / 1.465 GB, free: 64 kB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003119/0.5106, allocations: 303 kB / 1.465 GB, free: 15.76 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005242/0.5111, allocations: 0.5519 MB / 1.465 GB, free: 15.21 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001909/0.513, allocations: 1.623 MB / 1.467 GB, free: 13.58 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.513, allocations: 0 / 1.467 GB, free: 13.58 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.403e-06/0.513, allocations: 0 / 1.467 GB, free: 13.58 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.967e-05/0.513, allocations: 4 kB / 1.467 GB, free: 13.58 MB / 1.17 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.002627/0.5156, allocations: 1.384 MB / 1.468 GB, free: 12.16 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.5157, allocations: 8.922 kB / 1.468 GB, free: 12.16 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009475/0.5166, allocations: 188.1 kB / 1.469 GB, free: 11.97 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.5179, allocations: 0.7018 MB / 1.469 GB, free: 11.24 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.586e-05/0.518, allocations: 65.98 kB / 1.469 GB, free: 11.18 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.5181, allocations: 76 kB / 1.469 GB, free: 11.11 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.5198, allocations: 0.9114 MB / 1.47 GB, free: 10.15 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.5198, allocations: 0 / 1.47 GB, free: 10.15 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-05/0.5199, allocations: 36 kB / 1.47 GB, free: 10.11 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.5199, allocations: 20 kB / 1.47 GB, free: 10.09 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.5218, allocations: 1.1 MB / 1.471 GB, free: 8.996 MB / 1.17 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.00439/0.5262, allocations: 2.77 MB / 1.474 GB, free: 6.09 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.5278, allocations: 0.7468 MB / 1.475 GB, free: 5.328 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005546/0.5284, allocations: 270.6 kB / 1.475 GB, free: 5.062 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.982e-05/0.5285, allocations: 36.59 kB / 1.475 GB, free: 5.027 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009311/0.5294, allocations: 483.3 kB / 1.476 GB, free: 4.535 MB / 1.17 GB Notification: Performance of pre-optimization done (n=78): time 2.164e-06/0.5294, allocations: 4 kB / 1.476 GB, free: 4.531 MB / 1.17 GB Notification: Performance of matching and sorting (n=78): time 0.003244/0.5327, allocations: 1.099 MB / 1.477 GB, free: 3.426 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.5328, allocations: 192.6 kB / 1.477 GB, free: 3.191 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008854/0.5337, allocations: 0.6332 MB / 1.477 GB, free: 2.551 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.443e-05/0.5338, allocations: 41.7 kB / 1.478 GB, free: 2.504 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/0.5341, allocations: 401 kB / 1.478 GB, free: 2.105 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.5344, allocations: 269.7 kB / 1.478 GB, free: 1.84 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/0.5346, allocations: 162.6 kB / 1.478 GB, free: 1.672 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002064/0.5349, allocations: 394.7 kB / 1.479 GB, free: 1.277 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005474/0.5354, allocations: 273.8 kB / 1.479 GB, free: 1.012 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006642/0.5361, allocations: 356 kB / 1.479 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.5372, allocations: 0.6042 MB / 1.48 GB, free: 32 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.5372, allocations: 0 / 1.48 GB, free: 32 kB / 1.17 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002079/0.5393, allocations: 0.8453 MB / 1.481 GB, free: 15.17 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.5393, allocations: 4 kB / 1.481 GB, free: 15.17 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.5394, allocations: 7.938 kB / 1.481 GB, free: 15.16 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006469/0.54, allocations: 80.91 kB / 1.481 GB, free: 15.08 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006832/0.5407, allocations: 163.7 kB / 1.481 GB, free: 14.92 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/0.543, allocations: 1.531 MB / 1.482 GB, free: 13.26 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007446/0.5437, allocations: 95.59 kB / 1.483 GB, free: 13.17 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.158e-05/0.5438, allocations: 31.98 kB / 1.483 GB, free: 13.14 MB / 1.186 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.0004721/0.5443, allocations: 267.4 kB / 1.483 GB, free: 12.87 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.5444, allocations: 87.44 kB / 1.483 GB, free: 12.78 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/0.547, allocations: 1.042 MB / 1.484 GB, free: 11.72 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.547, allocations: 16 kB / 1.484 GB, free: 11.7 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.547, allocations: 7.938 kB / 1.484 GB, free: 11.7 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.547, allocations: 7.969 kB / 1.484 GB, free: 11.69 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.5481, allocations: 0.852 MB / 1.485 GB, free: 10.8 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5481, allocations: 0 / 1.485 GB, free: 10.8 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006106/0.5488, allocations: 143.8 kB / 1.485 GB, free: 10.66 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004729/0.5492, allocations: 76.78 kB / 1.485 GB, free: 10.58 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.662e-05/0.5493, allocations: 23.98 kB / 1.485 GB, free: 10.55 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/0.5514, allocations: 1.559 MB / 1.487 GB, free: 8.879 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5514, allocations: 0 / 1.487 GB, free: 8.879 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/0.5535, allocations: 0.9205 MB / 1.487 GB, free: 7.934 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004359/0.554, allocations: 187.1 kB / 1.488 GB, free: 7.75 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.5541, allocations: 24 kB / 1.488 GB, free: 7.727 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006127/0.5547, allocations: 59.92 kB / 1.488 GB, free: 7.668 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/0.5549, allocations: 76.86 kB / 1.488 GB, free: 7.594 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-05/0.5549, allocations: 31.92 kB / 1.488 GB, free: 7.562 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000623/0.5556, allocations: 463 kB / 1.488 GB, free: 7.117 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5556, allocations: 0 / 1.488 GB, free: 7.117 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008839/0.5564, allocations: 327.1 kB / 1.489 GB, free: 6.797 MB / 1.186 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.001953/0.5584, allocations: 0.6028 MB / 1.489 GB, free: 6.371 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00171/0.5601, allocations: 0.7882 MB / 1.49 GB, free: 5.57 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.5601, allocations: 4 kB / 1.49 GB, free: 5.566 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009513/0.5611, allocations: 496.5 kB / 1.49 GB, free: 5.07 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.5623, allocations: 311.7 kB / 1.491 GB, free: 4.789 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/0.5654, allocations: 1.682 MB / 1.492 GB, free: 3.078 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006704/0.5661, allocations: 1.023 MB / 1.493 GB, free: 2.031 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007601/0.5668, allocations: 258.5 kB / 1.494 GB, free: 1.773 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/0.5671, allocations: 107.4 kB / 1.494 GB, free: 1.668 MB / 1.186 GB Notification: Performance of SimCode: time 6.12e-07/0.5671, allocations: 0 / 1.494 GB, free: 1.668 MB / 1.186 GB Notification: Performance of Templates: time 0.02806/0.5952, allocations: 15.68 MB / 1.509 GB, free: 2.156 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.616025406867266]