Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.0007544/0.0007544, allocations: 72.5 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.0008226/0.0008226, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8977/0.8977, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.77/1.77, allocations: 377.8 MB / 0.6229 GB, free: 8.629 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.9822 GB, free: 2.125 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.086e-05, allocations: 9.234 kB / 0.9822 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.6273/0.6273, allocations: 138.4 MB / 1.117 GB, free: 19.43 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.02274/0.6501, allocations: 19.72 MB / 1.137 GB, free: 5.844 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003108/0.6532, allocations: 65.94 kB / 1.137 GB, free: 5.812 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.6547, allocations: 1.18 MB / 1.138 GB, free: 5.59 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.6561, allocations: 0.9293 MB / 1.139 GB, free: 5.27 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008374/0.657, allocations: 387.8 kB / 1.139 GB, free: 5.047 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001177/0.6581, allocations: 1.316 MB / 1.14 GB, free: 4.465 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006646/0.6588, allocations: 0.5385 MB / 1.141 GB, free: 4.25 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008054/0.6596, allocations: 0.718 MB / 1.142 GB, free: 4 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.6606, allocations: 0.9373 MB / 1.143 GB, free: 3.84 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 9.368e-05/0.6607, allocations: 66.59 kB / 1.143 GB, free: 3.84 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.6609, allocations: 110.2 kB / 1.143 GB, free: 3.828 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002291/0.6611, allocations: 331.8 kB / 1.143 GB, free: 3.664 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002188/0.6614, allocations: 289 kB / 1.143 GB, free: 3.531 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.6624, allocations: 1.19 MB / 1.144 GB, free: 3.094 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.6624, allocations: 0 / 1.144 GB, free: 3.094 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6624, allocations: 0 / 1.144 GB, free: 3.094 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.6624, allocations: 1.125 kB / 1.144 GB, free: 3.094 MB / 0.9948 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.001507/0.6639, allocations: 1.485 MB / 1.146 GB, free: 2.098 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.664, allocations: 13.25 kB / 1.146 GB, free: 2.094 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.6641, allocations: 145.5 kB / 1.146 GB, free: 2.016 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005492/0.6646, allocations: 0.6062 MB / 1.147 GB, free: 1.586 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.643e-05/0.6647, allocations: 103.2 kB / 1.147 GB, free: 1.5 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.074e-05/0.6648, allocations: 44.48 kB / 1.147 GB, free: 1.488 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000622/0.6654, allocations: 0.5212 MB / 1.147 GB, free: 1.266 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.6654, allocations: 5.062 kB / 1.147 GB, free: 1.262 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.6655, allocations: 20.44 kB / 1.147 GB, free: 1.246 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.6655, allocations: 12.19 kB / 1.147 GB, free: 1.246 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005578/0.666, allocations: 416 kB / 1.148 GB, free: 1.113 MB / 0.9948 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.001992/0.668, allocations: 1.844 MB / 1.15 GB, free: 116 kB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000691/0.6687, allocations: 430.9 kB / 1.15 GB, free: 15.96 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003691/0.6691, allocations: 272.6 kB / 1.15 GB, free: 15.87 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.6691, allocations: 9.109 kB / 1.15 GB, free: 15.86 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003922/0.6695, allocations: 301 kB / 1.151 GB, free: 15.74 MB / 1.01 GB Notification: Performance of pre-optimization done (n=45): time 1.943e-06/0.6695, allocations: 4.938 kB / 1.151 GB, free: 15.74 MB / 1.01 GB Notification: Performance of matching and sorting (n=45): time 0.001797/0.6713, allocations: 1.109 MB / 1.152 GB, free: 15.36 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.6713, allocations: 58.66 kB / 1.152 GB, free: 15.29 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.6728, allocations: 1.757 MB / 1.153 GB, free: 14.71 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.6729, allocations: 38.38 kB / 1.153 GB, free: 14.68 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/0.6732, allocations: 0.5221 MB / 1.154 GB, free: 14.27 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 9.968e-05/0.6733, allocations: 154.4 kB / 1.154 GB, free: 14.15 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.6734, allocations: 94.86 kB / 1.154 GB, free: 14.1 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.243e-05/0.6735, allocations: 325.1 kB / 1.154 GB, free: 13.79 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003228/0.6738, allocations: 226.6 kB / 1.155 GB, free: 13.71 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003724/0.6742, allocations: 327.2 kB / 1.155 GB, free: 13.53 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006133/0.6748, allocations: 0.516 MB / 1.155 GB, free: 13.25 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.6748, allocations: 2.219 kB / 1.155 GB, free: 13.25 MB / 1.01 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001101/0.6759, allocations: 0.8466 MB / 1.156 GB, free: 12.91 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.6759, allocations: 10.72 kB / 1.156 GB, free: 12.91 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.6759, allocations: 3.156 kB / 1.156 GB, free: 12.91 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003667/0.6763, allocations: 184.2 kB / 1.157 GB, free: 12.86 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.6765, allocations: 97.34 kB / 1.157 GB, free: 12.84 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002527/0.679, allocations: 2.838 MB / 1.159 GB, free: 10.78 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.6793, allocations: 65.52 kB / 1.159 GB, free: 10.75 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.6793, allocations: 25.16 kB / 1.159 GB, free: 10.75 MB / 1.01 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.0004117/0.6797, allocations: 390.8 kB / 1.16 GB, free: 10.55 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.6798, allocations: 123.1 kB / 1.16 GB, free: 10.48 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.6809, allocations: 0.7721 MB / 1.161 GB, free: 10.17 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.6809, allocations: 8.781 kB / 1.161 GB, free: 10.17 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.6809, allocations: 2.406 kB / 1.161 GB, free: 10.17 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-06/0.6809, allocations: 6.719 kB / 1.161 GB, free: 10.16 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.6827, allocations: 1.44 MB / 1.162 GB, free: 9.492 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6827, allocations: 3.938 kB / 1.162 GB, free: 9.488 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.6828, allocations: 48.27 kB / 1.162 GB, free: 9.484 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003201/0.6831, allocations: 190 kB / 1.162 GB, free: 9.426 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.6832, allocations: 14.84 kB / 1.162 GB, free: 9.418 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002977/0.6861, allocations: 4.263 MB / 1.167 GB, free: 5.961 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6861, allocations: 0 / 1.167 GB, free: 5.961 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.6874, allocations: 1.087 MB / 1.168 GB, free: 5.445 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.6876, allocations: 149.4 kB / 1.168 GB, free: 5.352 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.507e-05/0.6877, allocations: 13.47 kB / 1.168 GB, free: 5.344 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.6878, allocations: 31.56 kB / 1.168 GB, free: 5.336 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.688, allocations: 65.34 kB / 1.168 GB, free: 5.316 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/0.688, allocations: 14.28 kB / 1.168 GB, free: 5.316 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001129/0.6891, allocations: 1.285 MB / 1.169 GB, free: 4.879 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6891, allocations: 0 / 1.169 GB, free: 4.879 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005613/0.6897, allocations: 206.7 kB / 1.169 GB, free: 4.84 MB / 1.01 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.0008936/0.6906, allocations: 0.5142 MB / 1.17 GB, free: 4.629 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001023/0.6916, allocations: 0.6988 MB / 1.17 GB, free: 4.32 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6916, allocations: 1.031 kB / 1.17 GB, free: 4.32 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005842/0.6922, allocations: 0.5558 MB / 1.171 GB, free: 3.965 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006522/0.6928, allocations: 192.1 kB / 1.171 GB, free: 3.891 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.6956, allocations: 2.386 MB / 1.174 GB, free: 2.824 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/0.6961, allocations: 0.5509 MB / 1.174 GB, free: 2.672 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.17e-05/0.6962, allocations: 47.19 kB / 1.174 GB, free: 2.66 MB / 1.01 GB Notification: Performance of SimCode: time 4.51e-07/0.6962, allocations: 0 / 1.174 GB, free: 2.66 MB / 1.01 GB Notification: Performance of Templates: time 0.01716/0.7134, allocations: 18.56 MB / 1.192 GB, free: 11.84 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.894951472990215]