Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002209/0.002209, allocations: 187.8 kB / 22.1 MB, free: 4.223 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.466/1.466, allocations: 225.6 MB / 250.8 MB, free: 2.898 MB / 190.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 2.946/2.946, allocations: 495.8 MB / 0.7831 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] 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.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 63.91 kB / 1.137 GB, free: 12.15 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.042, allocations: 173.6 MB / 1.307 GB, free: 33.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2313/1.274, allocations: 165 MB / 1.468 GB, free: 10.47 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01753/1.291, allocations: 7.941 MB / 1.476 GB, free: 4.855 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003735/1.295, allocations: 46.59 kB / 1.476 GB, free: 4.832 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002199/1.297, allocations: 420 kB / 1.476 GB, free: 4.48 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.007252/1.304, allocations: 1.368 MB / 1.477 GB, free: 3.434 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005041/1.309, allocations: 1.203 MB / 1.479 GB, free: 2.5 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005125/1.315, allocations: 2.393 MB / 1.481 GB, free: 1.035 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002172/1.317, allocations: 0.9733 MB / 1.482 GB, free: 320 kB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002322/1.319, allocations: 0.8777 MB / 1.483 GB, free: 15.79 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002572/1.322, allocations: 0.812 MB / 1.484 GB, free: 15.25 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0004399/1.322, allocations: 151.2 kB / 1.484 GB, free: 15.25 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003442/1.325, allocations: 0.9984 MB / 1.485 GB, free: 14.78 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006567/1.326, allocations: 439.3 kB / 1.485 GB, free: 14.45 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0015/1.328, allocations: 0.7791 MB / 1.486 GB, free: 13.89 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.006398/1.334, allocations: 2.394 MB / 1.488 GB, free: 12.22 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/1.334, allocations: 0 / 1.488 GB, free: 12.22 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.525e-06/1.334, allocations: 1.062 kB / 1.488 GB, free: 12.22 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.489e-05/1.334, allocations: 4 kB / 1.488 GB, free: 12.21 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.005743/1.34, allocations: 1.846 MB / 1.49 GB, free: 10.84 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/1.34, allocations: 9.344 kB / 1.49 GB, free: 10.84 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002478/1.342, allocations: 340.1 kB / 1.49 GB, free: 10.67 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/1.345, allocations: 0.9489 MB / 1.491 GB, free: 9.945 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/1.345, allocations: 79.61 kB / 1.491 GB, free: 9.91 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/1.345, allocations: 114.9 kB / 1.491 GB, free: 9.867 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/1.348, allocations: 1.172 MB / 1.493 GB, free: 9.105 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/1.348, allocations: 1.438 kB / 1.493 GB, free: 9.105 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/1.348, allocations: 50.88 kB / 1.493 GB, free: 9.066 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.425e-05/1.348, allocations: 46.14 kB / 1.493 GB, free: 9.055 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002625/1.351, allocations: 1.308 MB / 1.494 GB, free: 8.422 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.00777/1.358, allocations: 3.8 MB / 1.498 GB, free: 4.746 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/1.36, allocations: 0.9538 MB / 1.499 GB, free: 3.789 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007537/1.361, allocations: 359.7 kB / 1.499 GB, free: 3.434 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-05/1.361, allocations: 37.02 kB / 1.499 GB, free: 3.398 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001162/1.362, allocations: 0.5903 MB / 1.5 GB, free: 2.789 MB / 1.17 GB Notification: Performance of pre-optimization done (n=102): time 3.196e-06/1.362, allocations: 0 / 1.5 GB, free: 2.789 MB / 1.17 GB Notification: Performance of matching and sorting (n=102): time 0.004274/1.367, allocations: 1.368 MB / 1.501 GB, free: 1.414 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001725/1.367, allocations: 200.9 kB / 1.501 GB, free: 1.172 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/1.368, allocations: 0.826 MB / 1.502 GB, free: 328 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001461/1.369, allocations: 45.7 kB / 1.502 GB, free: 276 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006417/1.369, allocations: 0.5286 MB / 1.502 GB, free: 15.73 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004422/1.37, allocations: 364.9 kB / 1.503 GB, free: 15.38 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003641/1.37, allocations: 206.5 kB / 1.503 GB, free: 15.17 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001914/1.37, allocations: 341.9 kB / 1.503 GB, free: 14.83 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00072/1.371, allocations: 333.8 kB / 1.504 GB, free: 14.5 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008887/1.372, allocations: 480.2 kB / 1.504 GB, free: 14 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/1.373, allocations: 0.801 MB / 1.505 GB, free: 13.17 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/1.373, allocations: 0 / 1.505 GB, free: 13.17 MB / 1.186 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002761/1.376, allocations: 1.083 MB / 1.506 GB, free: 12.08 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/1.376, allocations: 8 kB / 1.506 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/1.376, allocations: 3.984 kB / 1.506 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006775/1.377, allocations: 92.73 kB / 1.506 GB, free: 11.97 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000928/1.378, allocations: 215.7 kB / 1.506 GB, free: 11.76 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/1.38, allocations: 1.527 MB / 1.508 GB, free: 10.12 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/1.382, allocations: 111.3 kB / 1.508 GB, free: 10.01 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/1.382, allocations: 43.98 kB / 1.508 GB, free: 9.965 MB / 1.186 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.0008281/1.383, allocations: 331.5 kB / 1.508 GB, free: 9.633 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003164/1.383, allocations: 119.2 kB / 1.508 GB, free: 9.516 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002996/1.386, allocations: 1.24 MB / 1.51 GB, free: 8.254 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/1.386, allocations: 15.94 kB / 1.51 GB, free: 8.238 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/1.386, allocations: 7.922 kB / 1.51 GB, free: 8.23 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/1.386, allocations: 3.984 kB / 1.51 GB, free: 8.227 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002211/1.388, allocations: 1.134 MB / 1.511 GB, free: 7.051 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.388, allocations: 0 / 1.511 GB, free: 7.051 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009902/1.389, allocations: 207.8 kB / 1.511 GB, free: 6.848 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005015/1.39, allocations: 72.78 kB / 1.511 GB, free: 6.773 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.715e-05/1.39, allocations: 23.98 kB / 1.511 GB, free: 6.75 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/1.392, allocations: 1.563 MB / 1.512 GB, free: 5.07 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.392, allocations: 3.938 kB / 1.512 GB, free: 5.066 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00373/1.396, allocations: 1.571 MB / 1.514 GB, free: 3.473 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009557/1.397, allocations: 254.8 kB / 1.514 GB, free: 3.223 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/1.397, allocations: 31.98 kB / 1.514 GB, free: 3.191 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009137/1.398, allocations: 75.88 kB / 1.514 GB, free: 3.117 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/1.398, allocations: 88.83 kB / 1.514 GB, free: 3.031 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.547e-05/1.398, allocations: 43.97 kB / 1.514 GB, free: 2.988 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009915/1.399, allocations: 0.578 MB / 1.515 GB, free: 2.398 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1.399, allocations: 0 / 1.515 GB, free: 2.398 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001459/1.401, allocations: 435 kB / 1.515 GB, free: 1.973 MB / 1.186 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.002231/1.403, allocations: 0.6329 MB / 1.516 GB, free: 1.516 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002447/1.405, allocations: 0.9522 MB / 1.517 GB, free: 0.5508 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.405, allocations: 0.5625 kB / 1.517 GB, free: 0.5508 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001229/1.406, allocations: 0.5744 MB / 1.518 GB, free: 15.96 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/1.409, allocations: 488 kB / 1.518 GB, free: 15.51 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005284/1.414, allocations: 2.488 MB / 1.52 GB, free: 12.99 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009254/1.415, allocations: 1.15 MB / 1.522 GB, free: 11.81 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001393/1.417, allocations: 321.2 kB / 1.522 GB, free: 11.5 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003672/1.417, allocations: 127.4 kB / 1.522 GB, free: 11.37 MB / 1.201 GB Notification: Performance of SimCode: time 1.914e-06/1.417, allocations: 0 / 1.522 GB, free: 11.37 MB / 1.201 GB Notification: Performance of Templates: time 0.04537/1.462, allocations: 21.77 MB / 1.543 GB, free: 5.852 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.66980212368071]