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.00128/0.00128, allocations: 110 kB / 18.93 MB, free: 2.945 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.001352/0.001352, allocations: 192 kB / 22.23 MB, free: 5.16 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.387/1.387, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.111/3.111, allocations: 495.7 MB / 0.7831 GB, free: 33.43 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-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.001937/0.001937, allocations: 67.3 kB / 1.137 GB, free: 33.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3297, allocations: 173.6 MB / 1.307 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2137/0.5434, allocations: 166.8 MB / 1.47 GB, free: 10.46 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0142/0.5576, allocations: 7.961 MB / 1.478 GB, free: 2.473 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.5592, allocations: 47.62 kB / 1.478 GB, free: 2.426 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001556/0.5608, allocations: 417 kB / 1.478 GB, free: 2.016 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004238/0.565, allocations: 1.371 MB / 1.479 GB, free: 0.6406 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003295/0.5683, allocations: 1.21 MB / 1.481 GB, free: 15.44 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004058/0.5723, allocations: 2.391 MB / 1.483 GB, free: 13.04 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001876/0.5742, allocations: 0.9759 MB / 1.484 GB, free: 12.04 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.5757, allocations: 0.8798 MB / 1.485 GB, free: 11.16 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001711/0.5774, allocations: 0.8147 MB / 1.486 GB, free: 10.34 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002934/0.5777, allocations: 156 kB / 1.486 GB, free: 10.19 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.5802, allocations: 1.182 MB / 1.487 GB, free: 9.008 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004623/0.5806, allocations: 438.6 kB / 1.487 GB, free: 8.578 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008522/0.5815, allocations: 0.7812 MB / 1.488 GB, free: 7.793 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003588/0.5851, allocations: 2.417 MB / 1.49 GB, free: 5.367 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5851, allocations: 0 / 1.49 GB, free: 5.367 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5851, allocations: 0 / 1.49 GB, free: 5.367 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.409e-05/0.5851, allocations: 3.938 kB / 1.49 GB, free: 5.363 MB / 1.186 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.003587/0.5887, allocations: 1.856 MB / 1.492 GB, free: 3.465 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.5887, allocations: 8.031 kB / 1.492 GB, free: 3.457 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/0.5907, allocations: 338.7 kB / 1.493 GB, free: 3.125 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.5924, allocations: 0.9395 MB / 1.493 GB, free: 2.148 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.859e-05/0.5925, allocations: 82.2 kB / 1.494 GB, free: 2.066 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.5926, allocations: 115.9 kB / 1.494 GB, free: 1.953 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.5948, allocations: 1.176 MB / 1.495 GB, free: 0.707 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.5948, allocations: 0 / 1.495 GB, free: 0.707 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.595, allocations: 48 kB / 1.495 GB, free: 0.6602 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.818e-05/0.595, allocations: 46.06 kB / 1.495 GB, free: 0.6133 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/0.5973, allocations: 1.312 MB / 1.496 GB, free: 15.29 MB / 1.201 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.005881/0.6032, allocations: 3.806 MB / 1.5 GB, free: 11.27 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00188/0.6051, allocations: 0.9443 MB / 1.501 GB, free: 10.32 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007149/0.6058, allocations: 378.9 kB / 1.501 GB, free: 9.949 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.93e-05/0.6059, allocations: 33.03 kB / 1.501 GB, free: 9.914 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/0.607, allocations: 0.5903 MB / 1.502 GB, free: 9.309 MB / 1.201 GB Notification: Performance of pre-optimization done (n=102): time 2.305e-06/0.607, allocations: 0 / 1.502 GB, free: 9.309 MB / 1.201 GB Notification: Performance of matching and sorting (n=102): time 0.003783/0.6108, allocations: 1.368 MB / 1.503 GB, free: 7.93 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.6109, allocations: 200.9 kB / 1.503 GB, free: 7.691 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.6121, allocations: 0.8375 MB / 1.504 GB, free: 6.828 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.431e-05/0.6121, allocations: 45.7 kB / 1.504 GB, free: 6.777 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004755/0.6126, allocations: 0.5285 MB / 1.505 GB, free: 6.242 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003381/0.613, allocations: 357 kB / 1.505 GB, free: 5.891 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003243/0.6133, allocations: 206.5 kB / 1.505 GB, free: 5.684 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.6134, allocations: 341.9 kB / 1.506 GB, free: 5.344 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006985/0.6141, allocations: 341.8 kB / 1.506 GB, free: 5.008 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008518/0.615, allocations: 472.2 kB / 1.506 GB, free: 4.516 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.6165, allocations: 0.8049 MB / 1.507 GB, free: 3.684 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.6165, allocations: 0 / 1.507 GB, free: 3.684 MB / 1.201 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002415/0.6189, allocations: 1.075 MB / 1.508 GB, free: 2.598 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.6189, allocations: 6.188 kB / 1.508 GB, free: 2.594 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.6189, allocations: 4 kB / 1.508 GB, free: 2.59 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006199/0.6195, allocations: 84.94 kB / 1.508 GB, free: 2.504 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008626/0.6204, allocations: 219.7 kB / 1.508 GB, free: 2.289 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.6226, allocations: 1.538 MB / 1.51 GB, free: 0.6367 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000988/0.6236, allocations: 111.4 kB / 1.51 GB, free: 0.5273 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.004e-05/0.6237, allocations: 43.97 kB / 1.51 GB, free: 496 kB / 1.201 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.0005135/0.6242, allocations: 328 kB / 1.51 GB, free: 160 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002252/0.6245, allocations: 123.2 kB / 1.511 GB, free: 36 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002973/0.6274, allocations: 1.24 MB / 1.512 GB, free: 14.77 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.6274, allocations: 12 kB / 1.512 GB, free: 14.76 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.6274, allocations: 7.938 kB / 1.512 GB, free: 14.75 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.6275, allocations: 7.969 kB / 1.512 GB, free: 14.75 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.629, allocations: 1.129 MB / 1.513 GB, free: 13.57 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.629, allocations: 0 / 1.513 GB, free: 13.57 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009003/0.6299, allocations: 211.7 kB / 1.513 GB, free: 13.37 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004572/0.6303, allocations: 72.8 kB / 1.513 GB, free: 13.29 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.159e-05/0.6304, allocations: 31.97 kB / 1.513 GB, free: 13.26 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/0.6324, allocations: 1.559 MB / 1.515 GB, free: 11.59 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.6325, allocations: 3.938 kB / 1.515 GB, free: 11.58 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003291/0.6357, allocations: 1.575 MB / 1.516 GB, free: 9.984 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005966/0.6363, allocations: 250.8 kB / 1.516 GB, free: 9.738 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.6365, allocations: 24 kB / 1.517 GB, free: 9.715 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008344/0.6373, allocations: 71.92 kB / 1.517 GB, free: 9.645 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/0.6375, allocations: 88.83 kB / 1.517 GB, free: 9.559 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.267e-05/0.6376, allocations: 39.98 kB / 1.517 GB, free: 9.52 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008448/0.6385, allocations: 0.578 MB / 1.517 GB, free: 8.93 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.6385, allocations: 0 / 1.517 GB, free: 8.93 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001139/0.6396, allocations: 439 kB / 1.518 GB, free: 8.5 MB / 1.217 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.001974/0.6416, allocations: 0.6259 MB / 1.518 GB, free: 8.047 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002115/0.6437, allocations: 0.964 MB / 1.519 GB, free: 7.07 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.6437, allocations: 0 / 1.519 GB, free: 7.07 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.6449, allocations: 0.5709 MB / 1.52 GB, free: 6.488 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/0.647, allocations: 492.1 kB / 1.52 GB, free: 6.023 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004557/0.6515, allocations: 2.467 MB / 1.523 GB, free: 3.523 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009005/0.6524, allocations: 1.161 MB / 1.524 GB, free: 2.336 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001017/0.6534, allocations: 325.1 kB / 1.524 GB, free: 2.016 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/0.6538, allocations: 127.4 kB / 1.524 GB, free: 1.891 MB / 1.217 GB Notification: Performance of SimCode: time 6.01e-07/0.6538, allocations: 0 / 1.524 GB, free: 1.891 MB / 1.217 GB Notification: Performance of Templates: time 0.04058/0.6944, allocations: 21.76 MB / 1.545 GB, free: 12.36 MB / 1.248 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 800] 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: 9.93373151589185]