Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.001748/0.001748, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.001996/0.001996, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.576/1.576, allocations: 225.6 MB / 248.5 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.739/2.739, allocations: 443.5 MB / 0.7293 GB, free: 14.44 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.89 kB / 1.057 GB, free: 1.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3884, allocations: 160.7 MB / 1.214 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 1.097/1.486, allocations: 157.8 MB / 1.368 GB, free: 2.441 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03351/1.519, allocations: 22.07 MB / 1.39 GB, free: 2.113 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003567/1.523, allocations: 56.91 kB / 1.39 GB, free: 2.094 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003352/1.526, allocations: 2.156 MB / 1.392 GB, free: 1.023 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00335/1.529, allocations: 1.433 MB / 1.393 GB, free: 200 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002116/1.532, allocations: 0.5869 MB / 1.394 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003562/1.535, allocations: 1.829 MB / 1.396 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001823/1.537, allocations: 0.9057 MB / 1.397 GB, free: 14.12 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002438/1.539, allocations: 0.8848 MB / 1.397 GB, free: 13.66 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00345/1.543, allocations: 1.701 MB / 1.399 GB, free: 12.89 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003201/1.543, allocations: 90.69 kB / 1.399 GB, free: 12.89 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006319/1.544, allocations: 134.4 kB / 1.399 GB, free: 12.88 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0007068/1.545, allocations: 0.5318 MB / 1.4 GB, free: 12.55 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001126/1.546, allocations: 0.7611 MB / 1.401 GB, free: 11.96 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003033/1.549, allocations: 1.868 MB / 1.402 GB, free: 10.68 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/1.549, allocations: 0 / 1.402 GB, free: 10.68 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.415e-06/1.549, allocations: 4 kB / 1.402 GB, free: 10.68 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.706e-05/1.549, allocations: 0 / 1.402 GB, free: 10.68 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.004237/1.553, allocations: 2.367 MB / 1.405 GB, free: 8.855 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/1.553, allocations: 9.75 kB / 1.405 GB, free: 8.855 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003999/1.553, allocations: 238.8 kB / 1.405 GB, free: 8.727 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/1.555, allocations: 1.036 MB / 1.406 GB, free: 7.891 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/1.555, allocations: 83.84 kB / 1.406 GB, free: 7.836 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/1.555, allocations: 74.41 kB / 1.406 GB, free: 7.805 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/1.557, allocations: 0.7279 MB / 1.407 GB, free: 7.371 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/1.557, allocations: 2.75 kB / 1.407 GB, free: 7.371 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.836e-05/1.557, allocations: 29.73 kB / 1.407 GB, free: 7.348 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/1.557, allocations: 14.97 kB / 1.407 GB, free: 7.348 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/1.558, allocations: 0.5911 MB / 1.407 GB, free: 7.062 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005716/1.564, allocations: 3.504 MB / 1.411 GB, free: 4.219 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/1.565, allocations: 0.6585 MB / 1.411 GB, free: 3.879 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007719/1.566, allocations: 383.3 kB / 1.412 GB, free: 3.688 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.036e-05/1.566, allocations: 10.19 kB / 1.412 GB, free: 3.688 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008575/1.567, allocations: 431.1 kB / 1.412 GB, free: 3.43 MB / 1.076 GB Notification: Performance of pre-optimization done (n=70): time 2.716e-06/1.567, allocations: 0 / 1.412 GB, free: 3.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=70): time 0.004599/1.572, allocations: 1.798 MB / 1.414 GB, free: 2.406 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/1.572, allocations: 63.25 kB / 1.414 GB, free: 2.34 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004102/1.576, allocations: 3.316 MB / 1.417 GB, free: 456 kB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001524/1.576, allocations: 41.7 kB / 1.417 GB, free: 408 kB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009388/1.577, allocations: 0.8903 MB / 1.418 GB, free: 15.5 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003309/1.577, allocations: 234.1 kB / 1.418 GB, free: 15.27 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/1.577, allocations: 130.7 kB / 1.419 GB, free: 15.14 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001934/1.578, allocations: 337.9 kB / 1.419 GB, free: 14.8 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007339/1.578, allocations: 301.8 kB / 1.419 GB, free: 14.51 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008037/1.579, allocations: 442.3 kB / 1.42 GB, free: 14.04 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/1.581, allocations: 0.7093 MB / 1.42 GB, free: 13.28 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/1.581, allocations: 0 / 1.42 GB, free: 13.28 MB / 1.092 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002814/1.583, allocations: 1.212 MB / 1.421 GB, free: 12.05 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/1.583, allocations: 11.94 kB / 1.421 GB, free: 12.04 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/1.583, allocations: 4 kB / 1.421 GB, free: 12.04 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008169/1.584, allocations: 261.6 kB / 1.422 GB, free: 11.78 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005198/1.585, allocations: 131.8 kB / 1.422 GB, free: 11.65 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006121/1.591, allocations: 4.762 MB / 1.427 GB, free: 6.617 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009735/1.592, allocations: 99.53 kB / 1.427 GB, free: 6.52 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/1.592, allocations: 25.56 kB / 1.427 GB, free: 6.496 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001321/1.593, allocations: 0.6069 MB / 1.427 GB, free: 5.879 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00057/1.594, allocations: 214.5 kB / 1.427 GB, free: 5.668 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007532/1.595, allocations: 252.5 kB / 1.428 GB, free: 5.41 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/1.595, allocations: 12 kB / 1.428 GB, free: 5.398 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.112e-05/1.595, allocations: 11.86 kB / 1.428 GB, free: 5.391 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/1.595, allocations: 4 kB / 1.428 GB, free: 5.387 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005318/1.6, allocations: 2.324 MB / 1.43 GB, free: 2.996 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.6, allocations: 0 / 1.43 GB, free: 2.996 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/1.6, allocations: 67.89 kB / 1.43 GB, free: 2.93 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007241/1.601, allocations: 256.1 kB / 1.43 GB, free: 2.676 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.625e-05/1.601, allocations: 19.98 kB / 1.43 GB, free: 2.656 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005975/1.607, allocations: 4.758 MB / 1.435 GB, free: 13.62 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.607, allocations: 0 / 1.435 GB, free: 13.62 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003437/1.61, allocations: 1.581 MB / 1.436 GB, free: 12.02 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007683/1.611, allocations: 323.5 kB / 1.437 GB, free: 11.69 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003201/1.612, allocations: 23.98 kB / 1.437 GB, free: 11.66 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006498/1.612, allocations: 39.91 kB / 1.437 GB, free: 11.62 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/1.612, allocations: 72.45 kB / 1.437 GB, free: 11.55 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.465e-05/1.613, allocations: 28.86 kB / 1.437 GB, free: 11.52 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.003826/1.616, allocations: 2.423 MB / 1.439 GB, free: 9.086 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.9e-07/1.616, allocations: 0 / 1.439 GB, free: 9.086 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001387/1.618, allocations: 279.7 kB / 1.44 GB, free: 8.812 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.001947/1.62, allocations: 0.497 MB / 1.44 GB, free: 8.516 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002509/1.622, allocations: 1.034 MB / 1.441 GB, free: 7.457 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.622, allocations: 0 / 1.441 GB, free: 7.457 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001349/1.624, allocations: 0.6632 MB / 1.442 GB, free: 6.77 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/1.625, allocations: 291 kB / 1.442 GB, free: 6.496 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007983/1.633, allocations: 4.119 MB / 1.446 GB, free: 2.332 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001922/1.635, allocations: 1.516 MB / 1.448 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/1.636, allocations: 71.36 kB / 1.448 GB, free: 0.7109 MB / 1.107 GB Notification: Performance of SimCode: time 1.633e-06/1.636, allocations: 0 / 1.448 GB, free: 0.7109 MB / 1.107 GB Notification: Performance of Templates: time 0.05466/1.69, allocations: 31.6 MB / 1.478 GB, free: 1.141 MB / 1.139 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile [Timeout 300] (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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: 16.852134339977056]