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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 110.5 kB / 17.6 MB, free: 4.684 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.002085/0.002085, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.522/1.522, allocations: 225.6 MB / 249.4 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.923/2.923, allocations: 496.2 MB / 0.7819 GB, free: 12.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 63.89 kB / 1.136 GB, free: 12.45 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095/1.097, allocations: 173.7 MB / 1.305 GB, free: 33.41 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2284/1.325, allocations: 166.8 MB / 1.468 GB, free: 8.355 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01574/1.341, allocations: 7.947 MB / 1.476 GB, free: 2.734 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002391/1.343, allocations: 34.88 kB / 1.476 GB, free: 2.723 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002055/1.345, allocations: 413 kB / 1.477 GB, free: 2.449 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00564/1.351, allocations: 1.347 MB / 1.478 GB, free: 1.418 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004556/1.356, allocations: 1.205 MB / 1.479 GB, free: 496 kB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004996/1.361, allocations: 2.354 MB / 1.481 GB, free: 15.05 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00247/1.363, allocations: 0.9775 MB / 1.482 GB, free: 14.33 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00248/1.366, allocations: 0.8634 MB / 1.483 GB, free: 13.81 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002567/1.368, allocations: 0.8137 MB / 1.484 GB, free: 13.26 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0009446/1.369, allocations: 151.1 kB / 1.484 GB, free: 13.26 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004992/1.374, allocations: 1.165 MB / 1.485 GB, free: 12.69 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001285/1.375, allocations: 439.4 kB / 1.486 GB, free: 12.36 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002721/1.378, allocations: 0.7703 MB / 1.486 GB, free: 11.81 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.006467/1.385, allocations: 2.427 MB / 1.489 GB, free: 10.11 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.385, allocations: 1.344 kB / 1.489 GB, free: 10.11 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.744e-06/1.385, allocations: 4 kB / 1.489 GB, free: 10.11 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001064/1.385, allocations: 0 / 1.489 GB, free: 10.11 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.006182/1.391, allocations: 1.927 MB / 1.491 GB, free: 8.629 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/1.391, allocations: 13.66 kB / 1.491 GB, free: 8.625 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002548/1.393, allocations: 331.5 kB / 1.491 GB, free: 8.469 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/1.396, allocations: 1.02 MB / 1.492 GB, free: 7.664 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-05/1.396, allocations: 90.83 kB / 1.492 GB, free: 7.617 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/1.396, allocations: 112.2 kB / 1.492 GB, free: 7.578 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002348/1.399, allocations: 1.175 MB / 1.493 GB, free: 6.812 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/1.399, allocations: 0 / 1.493 GB, free: 6.812 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/1.399, allocations: 48 kB / 1.493 GB, free: 6.777 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.187e-05/1.399, allocations: 42.41 kB / 1.493 GB, free: 6.77 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002509/1.401, allocations: 1.304 MB / 1.495 GB, free: 6.141 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.008051/1.409, allocations: 3.897 MB / 1.498 GB, free: 2.402 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/1.411, allocations: 0.9422 MB / 1.499 GB, free: 1.453 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006698/1.412, allocations: 367.7 kB / 1.5 GB, free: 1.094 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.562e-05/1.412, allocations: 33.02 kB / 1.5 GB, free: 1.062 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/1.413, allocations: 0.5903 MB / 1.5 GB, free: 464 kB / 1.17 GB Notification: Performance of pre-optimization done (n=102): time 3.426e-06/1.413, allocations: 0 / 1.5 GB, free: 464 kB / 1.17 GB Notification: Performance of matching and sorting (n=102): time 0.003997/1.417, allocations: 1.447 MB / 1.502 GB, free: 14.98 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/1.417, allocations: 192.9 kB / 1.502 GB, free: 14.75 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/1.419, allocations: 0.8337 MB / 1.503 GB, free: 13.89 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001106/1.419, allocations: 45.7 kB / 1.503 GB, free: 13.84 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006057/1.42, allocations: 0.5363 MB / 1.503 GB, free: 13.29 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004019/1.42, allocations: 353 kB / 1.504 GB, free: 12.95 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003869/1.42, allocations: 206.5 kB / 1.504 GB, free: 12.74 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001883/1.421, allocations: 345.9 kB / 1.504 GB, free: 12.39 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007342/1.421, allocations: 337.8 kB / 1.504 GB, free: 12.07 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008535/1.422, allocations: 472.2 kB / 1.505 GB, free: 11.57 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/1.424, allocations: 0.7971 MB / 1.506 GB, free: 10.75 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/1.424, allocations: 0 / 1.506 GB, free: 10.75 MB / 1.186 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002618/1.426, allocations: 1.091 MB / 1.507 GB, free: 9.641 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/1.426, allocations: 4 kB / 1.507 GB, free: 9.637 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/1.426, allocations: 7.984 kB / 1.507 GB, free: 9.629 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006344/1.427, allocations: 80.91 kB / 1.507 GB, free: 9.547 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000904/1.428, allocations: 215.7 kB / 1.507 GB, free: 9.336 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002563/1.431, allocations: 1.634 MB / 1.509 GB, free: 7.555 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/1.432, allocations: 113.5 kB / 1.509 GB, free: 7.445 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/1.432, allocations: 47.91 kB / 1.509 GB, free: 7.398 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.0007436/1.433, allocations: 323.4 kB / 1.509 GB, free: 7.074 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003552/1.433, allocations: 115.2 kB / 1.509 GB, free: 6.961 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003023/1.436, allocations: 1.252 MB / 1.51 GB, free: 5.691 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/1.436, allocations: 8.047 kB / 1.51 GB, free: 5.684 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/1.436, allocations: 3.984 kB / 1.51 GB, free: 5.68 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/1.436, allocations: 7.984 kB / 1.51 GB, free: 5.672 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00203/1.438, allocations: 1.165 MB / 1.512 GB, free: 4.457 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/1.438, allocations: 4 kB / 1.512 GB, free: 4.453 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000945/1.439, allocations: 203.7 kB / 1.512 GB, free: 4.254 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004943/1.44, allocations: 72.78 kB / 1.512 GB, free: 4.18 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/1.44, allocations: 35.97 kB / 1.512 GB, free: 4.145 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002181/1.442, allocations: 1.65 MB / 1.514 GB, free: 2.352 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.442, allocations: 3.938 kB / 1.514 GB, free: 2.348 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003419/1.445, allocations: 1.575 MB / 1.515 GB, free: 0.75 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000686/1.446, allocations: 331.9 kB / 1.515 GB, free: 416 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002716/1.446, allocations: 24 kB / 1.515 GB, free: 392 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/1.447, allocations: 71.98 kB / 1.515 GB, free: 320 kB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/1.447, allocations: 80.89 kB / 1.516 GB, free: 240 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/1.448, allocations: 47.91 kB / 1.516 GB, free: 192 kB / 1.186 GB Notification: Performance of sorting global known variables: time 0.00108/1.449, allocations: 0.5781 MB / 1.516 GB, free: 15.59 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/1.449, allocations: 7.938 kB / 1.516 GB, free: 15.59 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001499/1.45, allocations: 439 kB / 1.517 GB, free: 15.16 MB / 1.201 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.002291/1.452, allocations: 0.6218 MB / 1.517 GB, free: 14.71 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002271/1.455, allocations: 0.9642 MB / 1.518 GB, free: 13.74 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.81e-06/1.455, allocations: 8.125 kB / 1.518 GB, free: 13.73 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001175/1.456, allocations: 0.5587 MB / 1.519 GB, free: 13.16 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/1.458, allocations: 492.5 kB / 1.519 GB, free: 12.7 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005224/1.463, allocations: 2.478 MB / 1.522 GB, free: 10.19 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/1.465, allocations: 1.154 MB / 1.523 GB, free: 9.008 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00123/1.466, allocations: 329.2 kB / 1.523 GB, free: 8.684 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003964/1.466, allocations: 131.3 kB / 1.523 GB, free: 8.555 MB / 1.201 GB Notification: Performance of SimCode: time 1.062e-06/1.466, allocations: 0 / 1.523 GB, free: 8.555 MB / 1.201 GB Notification: Performance of Templates: time 0.04266/1.509, allocations: 21.48 MB / 1.544 GB, free: 3.312 MB / 1.217 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.65203842613846]