Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.001063/0.001063, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007596/0.0007596, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.8498/0.8498, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.815/1.815, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.669e-05, allocations: 10.16 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.563/0.563, allocations: 138.4 MB / 1.136 GB, free: 13.78 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0178/0.5808, allocations: 19.72 MB / 1.155 GB, free: 204 kB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.5822, allocations: 71.12 kB / 1.155 GB, free: 168 kB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.5836, allocations: 1.171 MB / 1.157 GB, free: 15.95 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.5848, allocations: 0.9397 MB / 1.157 GB, free: 15.62 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006701/0.5855, allocations: 392 kB / 1.158 GB, free: 15.39 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.001184/0.5867, allocations: 1.307 MB / 1.159 GB, free: 14.82 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006431/0.5873, allocations: 0.5397 MB / 1.16 GB, free: 14.6 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008229/0.5882, allocations: 0.7144 MB / 1.16 GB, free: 14.36 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008989/0.5891, allocations: 0.9369 MB / 1.161 GB, free: 14.2 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 7.929e-05/0.5891, allocations: 67 kB / 1.161 GB, free: 14.2 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.5893, allocations: 114.4 kB / 1.161 GB, free: 14.18 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0002246/0.5895, allocations: 332 kB / 1.162 GB, free: 14.02 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0002202/0.5898, allocations: 280.5 kB / 1.162 GB, free: 13.89 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.5908, allocations: 1.237 MB / 1.163 GB, free: 13.42 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5908, allocations: 4 kB / 1.163 GB, free: 13.41 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5908, allocations: 1.469 kB / 1.163 GB, free: 13.41 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.5908, allocations: 0 / 1.163 GB, free: 13.41 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001647/0.5925, allocations: 1.519 MB / 1.165 GB, free: 12.39 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.5925, allocations: 10.09 kB / 1.165 GB, free: 12.39 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.5927, allocations: 140.6 kB / 1.165 GB, free: 12.31 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.594, allocations: 1.049 MB / 1.166 GB, free: 11.77 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.5941, allocations: 103.1 kB / 1.166 GB, free: 11.68 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.205e-05/0.5941, allocations: 43.56 kB / 1.166 GB, free: 11.67 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006806/0.5948, allocations: 0.5207 MB / 1.166 GB, free: 11.45 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.5948, allocations: 4.547 kB / 1.166 GB, free: 11.45 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.5949, allocations: 16.89 kB / 1.167 GB, free: 11.43 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/0.5949, allocations: 10.28 kB / 1.167 GB, free: 11.43 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005857/0.5955, allocations: 416.4 kB / 1.167 GB, free: 11.3 MB / 1.026 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.002215/0.5977, allocations: 1.844 MB / 1.169 GB, free: 10.3 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006886/0.5984, allocations: 434.8 kB / 1.169 GB, free: 10.15 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.5987, allocations: 267.1 kB / 1.169 GB, free: 10.06 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.5988, allocations: 5.078 kB / 1.169 GB, free: 10.06 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004078/0.5992, allocations: 297.5 kB / 1.17 GB, free: 9.941 MB / 1.026 GB Notification: Performance of pre-optimization done (n=45): time 1.893e-06/0.5992, allocations: 1 kB / 1.17 GB, free: 9.941 MB / 1.026 GB Notification: Performance of matching and sorting (n=45): time 0.001842/0.601, allocations: 1.113 MB / 1.171 GB, free: 9.555 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.601, allocations: 58.19 kB / 1.171 GB, free: 9.492 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.6021, allocations: 1.19 MB / 1.172 GB, free: 9.094 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.6022, allocations: 37.86 kB / 1.172 GB, free: 9.055 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/0.6025, allocations: 0.5479 MB / 1.173 GB, free: 8.621 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.6026, allocations: 150.3 kB / 1.173 GB, free: 8.504 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.6027, allocations: 96.02 kB / 1.173 GB, free: 8.453 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 8.342e-05/0.6028, allocations: 329.1 kB / 1.173 GB, free: 8.137 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/0.6031, allocations: 222.7 kB / 1.173 GB, free: 8.07 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/0.6035, allocations: 325.5 kB / 1.174 GB, free: 7.883 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006023/0.6041, allocations: 0.5145 MB / 1.174 GB, free: 7.609 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.6041, allocations: 5.281 kB / 1.174 GB, free: 7.605 MB / 1.026 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001068/0.6051, allocations: 0.855 MB / 1.175 GB, free: 7.258 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.6051, allocations: 15.17 kB / 1.175 GB, free: 7.25 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.6052, allocations: 6.531 kB / 1.175 GB, free: 7.246 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003556/0.6055, allocations: 182.4 kB / 1.175 GB, free: 7.195 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.6057, allocations: 97.47 kB / 1.175 GB, free: 7.188 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/0.6081, allocations: 2.828 MB / 1.178 GB, free: 5.125 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.6083, allocations: 81.8 kB / 1.178 GB, free: 5.086 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.6084, allocations: 20.53 kB / 1.178 GB, free: 5.082 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,reference.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,assEqu.satisfied,$PRE.assEqu.satisfied,mean.y_last,$PRE.mean.y_last,$whenCondition2,intGai.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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): 1 system {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003632/0.6087, allocations: 380.7 kB / 1.178 GB, free: 4.891 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.6088, allocations: 127.1 kB / 1.179 GB, free: 4.824 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.61, allocations: 0.7765 MB / 1.179 GB, free: 4.512 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.61, allocations: 9.656 kB / 1.179 GB, free: 4.508 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.61, allocations: 2.25 kB / 1.179 GB, free: 4.508 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.61, allocations: 3.141 kB / 1.179 GB, free: 4.508 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.6117, allocations: 1.454 MB / 1.181 GB, free: 3.836 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.6117, allocations: 0 / 1.181 GB, free: 3.836 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.6119, allocations: 56.47 kB / 1.181 GB, free: 3.824 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002995/0.6122, allocations: 192.4 kB / 1.181 GB, free: 3.762 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.6122, allocations: 14.42 kB / 1.181 GB, free: 3.754 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002749/0.615, allocations: 4.259 MB / 1.185 GB, free: 304 kB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.615, allocations: 0.8125 kB / 1.185 GB, free: 304 kB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.6162, allocations: 1.09 MB / 1.186 GB, free: 15.78 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.6163, allocations: 144.3 kB / 1.186 GB, free: 15.69 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.911e-05/0.6164, allocations: 18.14 kB / 1.186 GB, free: 15.68 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.6165, allocations: 27.66 kB / 1.186 GB, free: 15.68 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.922e-05/0.6166, allocations: 62.62 kB / 1.187 GB, free: 15.66 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.6167, allocations: 22.2 kB / 1.187 GB, free: 15.66 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0007193/0.6174, allocations: 0.8257 MB / 1.187 GB, free: 15.38 MB / 1.042 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6174, allocations: 0 / 1.187 GB, free: 15.38 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0005524/0.6179, allocations: 218 kB / 1.188 GB, free: 15.34 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mean.x,assEqu.diff,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,thermalZoneTwoElements.extWallRC.thermCapExt[1].T) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,13,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000868/0.6188, allocations: 0.5257 MB / 1.188 GB, free: 15.12 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0009539/0.6198, allocations: 0.6976 MB / 1.189 GB, free: 14.81 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6198, allocations: 0 / 1.189 GB, free: 14.81 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005299/0.6203, allocations: 0.5441 MB / 1.189 GB, free: 14.47 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000628/0.6209, allocations: 234.2 kB / 1.189 GB, free: 14.38 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.6235, allocations: 2.206 MB / 1.192 GB, free: 13.34 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006075/0.6241, allocations: 0.5508 MB / 1.192 GB, free: 13.18 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.6243, allocations: 132.4 kB / 1.192 GB, free: 13.14 MB / 1.042 GB Notification: Performance of SimCode: time 8.41e-07/0.6243, allocations: 1.281 kB / 1.192 GB, free: 13.14 MB / 1.042 GB Notification: Performance of Templates: time 0.01726/0.6415, allocations: 21.24 MB / 1.213 GB, free: 1.949 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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: 8.653304263018072]