Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.001907/0.001907, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.002314/0.002314, allocations: 162.4 kB / 23.01 MB, free: 4.949 MB / 14.72 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 1.525/1.525, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] 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 2.85/2.85, allocations: 394.2 MB / 0.6387 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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.TestCase1,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.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,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.TestCase1") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 68.17 kB / 1.009 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7595/0.7616, allocations: 181.8 MB / 1.187 GB, free: 16.24 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1729/0.9345, allocations: 138.5 MB / 1.322 GB, free: 11.36 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02554/0.9601, allocations: 19.71 MB / 1.341 GB, free: 7.586 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.9614, allocations: 71.44 kB / 1.341 GB, free: 7.516 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001688/0.9631, allocations: 1.173 MB / 1.342 GB, free: 6.34 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.9646, allocations: 0.9147 MB / 1.343 GB, free: 5.422 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008419/0.9655, allocations: 386.9 kB / 1.344 GB, free: 5.043 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001385/0.9669, allocations: 1.278 MB / 1.345 GB, free: 3.758 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007194/0.9676, allocations: 0.5351 MB / 1.345 GB, free: 3.219 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007017/0.9683, allocations: 0.5724 MB / 1.346 GB, free: 2.645 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.9695, allocations: 0.9799 MB / 1.347 GB, free: 1.66 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.9697, allocations: 68 kB / 1.347 GB, free: 1.594 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002324/0.9699, allocations: 108 kB / 1.347 GB, free: 1.488 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003225/0.9702, allocations: 328.6 kB / 1.347 GB, free: 1.168 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004097/0.9706, allocations: 385.5 kB / 1.348 GB, free: 0.7891 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.972, allocations: 1.233 MB / 1.349 GB, free: 15.55 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.972, allocations: 0 / 1.349 GB, free: 15.55 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.563e-06/0.972, allocations: 0 / 1.349 GB, free: 15.55 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.972, allocations: 0 / 1.349 GB, free: 15.55 MB / 1.201 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.002471/0.9745, allocations: 1.505 MB / 1.35 GB, free: 14.01 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.9745, allocations: 12.03 kB / 1.35 GB, free: 14 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.9747, allocations: 140 kB / 1.351 GB, free: 13.86 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009259/0.9756, allocations: 0.6064 MB / 1.351 GB, free: 13.22 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.9758, allocations: 104.4 kB / 1.351 GB, free: 13.1 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.521e-05/0.9759, allocations: 48 kB / 1.351 GB, free: 13.05 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.9769, allocations: 0.5222 MB / 1.352 GB, free: 12.52 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.9769, allocations: 0 / 1.352 GB, free: 12.52 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.877e-05/0.9769, allocations: 16 kB / 1.352 GB, free: 12.51 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.977, allocations: 15.98 kB / 1.352 GB, free: 12.49 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009182/0.9779, allocations: 415.7 kB / 1.352 GB, free: 12.08 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.003323/0.9812, allocations: 1.78 MB / 1.354 GB, free: 10.27 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.9822, allocations: 424.2 kB / 1.354 GB, free: 9.844 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007008/0.9829, allocations: 289.3 kB / 1.355 GB, free: 9.559 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.9829, allocations: 8.266 kB / 1.355 GB, free: 9.551 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005879/0.9835, allocations: 280.1 kB / 1.355 GB, free: 9.266 MB / 1.201 GB Notification: Performance of pre-optimization done (n=44): time 1.984e-06/0.9835, allocations: 4 kB / 1.355 GB, free: 9.262 MB / 1.201 GB Notification: Performance of matching and sorting (n=44): time 0.002774/0.9863, allocations: 0.9977 MB / 1.356 GB, free: 8.25 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.9864, allocations: 63.41 kB / 1.356 GB, free: 8.176 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002075/0.9884, allocations: 1.771 MB / 1.358 GB, free: 6.395 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/0.9885, allocations: 41.7 kB / 1.358 GB, free: 6.348 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004908/0.989, allocations: 0.522 MB / 1.358 GB, free: 5.82 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.9891, allocations: 150.8 kB / 1.358 GB, free: 5.672 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.9893, allocations: 98.34 kB / 1.358 GB, free: 5.57 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.9894, allocations: 326 kB / 1.359 GB, free: 5.246 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005243/0.99, allocations: 221.1 kB / 1.359 GB, free: 5.027 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006214/0.9906, allocations: 340.1 kB / 1.359 GB, free: 4.648 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.9916, allocations: 0.5246 MB / 1.36 GB, free: 4.074 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/0.9916, allocations: 4 kB / 1.36 GB, free: 4.07 MB / 1.201 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001674/0.9933, allocations: 0.8117 MB / 1.361 GB, free: 3.25 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.9933, allocations: 8.25 kB / 1.361 GB, free: 3.242 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.9933, allocations: 7.938 kB / 1.361 GB, free: 3.234 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004198/0.9937, allocations: 141.5 kB / 1.361 GB, free: 3.094 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/0.9941, allocations: 103.8 kB / 1.361 GB, free: 2.992 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003135/0.9973, allocations: 2.446 MB / 1.363 GB, free: 464 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004099/0.9977, allocations: 75.69 kB / 1.363 GB, free: 388 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/0.9977, allocations: 20 kB / 1.363 GB, free: 368 kB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005028/0.9982, allocations: 384.3 kB / 1.364 GB, free: 15.97 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.9984, allocations: 127.2 kB / 1.364 GB, free: 15.85 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.9999, allocations: 0.7124 MB / 1.365 GB, free: 15.13 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.9999, allocations: 7.984 kB / 1.365 GB, free: 15.12 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.9999, allocations: 7.938 kB / 1.365 GB, free: 15.11 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.9999, allocations: 0 / 1.365 GB, free: 15.11 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/1.002, allocations: 1.381 MB / 1.366 GB, free: 13.69 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/1.002, allocations: 4 kB / 1.366 GB, free: 13.68 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/1.003, allocations: 47.97 kB / 1.366 GB, free: 13.64 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004166/1.003, allocations: 165.5 kB / 1.366 GB, free: 13.47 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/1.003, allocations: 15.92 kB / 1.366 GB, free: 13.45 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004324/1.007, allocations: 3.967 MB / 1.37 GB, free: 9.289 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.007, allocations: 0 / 1.37 GB, free: 9.289 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/1.009, allocations: 1.009 MB / 1.371 GB, free: 8.254 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/1.01, allocations: 139.1 kB / 1.371 GB, free: 8.117 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.614e-05/1.01, allocations: 12 kB / 1.371 GB, free: 8.105 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/1.01, allocations: 31.97 kB / 1.371 GB, free: 8.074 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/1.01, allocations: 56.02 kB / 1.371 GB, free: 8.02 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/1.01, allocations: 19.92 kB / 1.371 GB, free: 8 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.00153/1.012, allocations: 1.292 MB / 1.373 GB, free: 6.703 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/1.012, allocations: 0 / 1.373 GB, free: 6.703 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007308/1.012, allocations: 203.7 kB / 1.373 GB, free: 6.504 MB / 1.217 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,12,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.001929/1.014, allocations: 0.5063 MB / 1.373 GB, free: 6.207 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001426/1.016, allocations: 0.6662 MB / 1.374 GB, free: 5.527 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.016, allocations: 0 / 1.374 GB, free: 5.527 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00089/1.017, allocations: 0.513 MB / 1.374 GB, free: 4.988 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009472/1.018, allocations: 197.3 kB / 1.375 GB, free: 4.801 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003632/1.021, allocations: 2.393 MB / 1.377 GB, free: 2.375 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006756/1.022, allocations: 0.5701 MB / 1.377 GB, free: 1.77 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000259/1.022, allocations: 92.67 kB / 1.378 GB, free: 1.68 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/1.022, allocations: 44.48 kB / 1.378 GB, free: 1.637 MB / 1.217 GB Notification: Performance of SimCode: time 5.01e-07/1.022, allocations: 0 / 1.378 GB, free: 1.637 MB / 1.217 GB Notification: Performance of Templates: time 0.02037/1.043, allocations: 10.37 MB / 1.388 GB, free: 7.457 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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: 95.08125591895077]