Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001392/0.001392, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002015/0.002015, allocations: 221.5 kB / 23 MB, free: 4.91 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.616/1.616, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.351/3.351, allocations: 0.4892 GB / 0.7951 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.TestCase1,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.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_12_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.002137/0.002137, allocations: 73.5 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3994, allocations: 176.1 MB / 1.326 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.2003/0.5997, allocations: 138.5 MB / 1.462 GB, free: 6.859 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03101/0.6307, allocations: 19.72 MB / 1.481 GB, free: 3.09 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.6327, allocations: 75.44 kB / 1.481 GB, free: 3.016 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.6346, allocations: 1.169 MB / 1.482 GB, free: 1.844 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001944/0.6365, allocations: 0.9107 MB / 1.483 GB, free: 0.9297 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.6377, allocations: 382.9 kB / 1.483 GB, free: 0.5547 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001728/0.6394, allocations: 1.282 MB / 1.485 GB, free: 15.27 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008042/0.6402, allocations: 0.5391 MB / 1.485 GB, free: 14.72 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008249/0.641, allocations: 0.5647 MB / 1.486 GB, free: 14.16 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.6424, allocations: 0.9838 MB / 1.487 GB, free: 13.17 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.6425, allocations: 71.94 kB / 1.487 GB, free: 13.1 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002923/0.6428, allocations: 115.9 kB / 1.487 GB, free: 12.98 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003298/0.6431, allocations: 320.7 kB / 1.487 GB, free: 12.67 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004264/0.6435, allocations: 385.5 kB / 1.487 GB, free: 12.29 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.645, allocations: 1.229 MB / 1.489 GB, free: 11.06 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.645, allocations: 0 / 1.489 GB, free: 11.06 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.944e-06/0.645, allocations: 0 / 1.489 GB, free: 11.06 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.6451, allocations: 4 kB / 1.489 GB, free: 11.05 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002722/0.6478, allocations: 1.509 MB / 1.49 GB, free: 9.508 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.6478, allocations: 12.03 kB / 1.49 GB, free: 9.496 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.6481, allocations: 144 kB / 1.49 GB, free: 9.355 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.6491, allocations: 0.6064 MB / 1.491 GB, free: 8.707 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.6493, allocations: 104.4 kB / 1.491 GB, free: 8.594 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.837e-05/0.6494, allocations: 48 kB / 1.491 GB, free: 8.547 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.6504, allocations: 0.5145 MB / 1.491 GB, free: 8.02 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.6505, allocations: 3.984 kB / 1.492 GB, free: 8.016 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.765e-05/0.6505, allocations: 16 kB / 1.492 GB, free: 8 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.6505, allocations: 12 kB / 1.492 GB, free: 7.988 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009471/0.6515, allocations: 419.7 kB / 1.492 GB, free: 7.578 MB / 1.186 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.003643/0.6551, allocations: 1.769 MB / 1.494 GB, free: 5.777 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.6562, allocations: 425.5 kB / 1.494 GB, free: 5.352 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007035/0.6569, allocations: 296.4 kB / 1.494 GB, free: 5.062 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.6569, allocations: 8.266 kB / 1.494 GB, free: 5.055 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006225/0.6575, allocations: 288.4 kB / 1.495 GB, free: 4.762 MB / 1.186 GB Notification: Performance of pre-optimization done (n=44): time 2.435e-06/0.6575, allocations: 0 / 1.495 GB, free: 4.762 MB / 1.186 GB Notification: Performance of matching and sorting (n=44): time 0.002813/0.6603, allocations: 0.9937 MB / 1.496 GB, free: 3.754 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.6604, allocations: 63.41 kB / 1.496 GB, free: 3.68 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002141/0.6625, allocations: 1.771 MB / 1.497 GB, free: 1.898 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.392e-05/0.6626, allocations: 37.7 kB / 1.497 GB, free: 1.855 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005164/0.6631, allocations: 0.5259 MB / 1.498 GB, free: 1.324 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.6633, allocations: 158.7 kB / 1.498 GB, free: 1.168 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.6634, allocations: 94.34 kB / 1.498 GB, free: 1.07 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.6636, allocations: 326 kB / 1.498 GB, free: 0.7461 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005238/0.6641, allocations: 217.2 kB / 1.499 GB, free: 0.5312 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006121/0.6647, allocations: 352.1 kB / 1.499 GB, free: 144 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.6658, allocations: 0.5146 MB / 1.5 GB, free: 15.58 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.333e-06/0.6658, allocations: 4 kB / 1.5 GB, free: 15.57 MB / 1.201 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001747/0.6675, allocations: 0.811 MB / 1.5 GB, free: 14.75 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.6675, allocations: 8.25 kB / 1.5 GB, free: 14.75 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.6675, allocations: 11.94 kB / 1.5 GB, free: 14.73 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004489/0.668, allocations: 132.7 kB / 1.5 GB, free: 14.6 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/0.6684, allocations: 107.7 kB / 1.501 GB, free: 14.5 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003149/0.6715, allocations: 2.454 MB / 1.503 GB, free: 11.95 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/0.672, allocations: 67.77 kB / 1.503 GB, free: 11.88 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/0.6721, allocations: 23.98 kB / 1.503 GB, free: 11.86 MB / 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.0007434/0.6728, allocations: 391.2 kB / 1.503 GB, free: 11.46 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.673, allocations: 119.2 kB / 1.504 GB, free: 11.34 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.6746, allocations: 0.7123 MB / 1.504 GB, free: 10.62 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.6746, allocations: 4 kB / 1.504 GB, free: 10.61 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.6746, allocations: 7.938 kB / 1.504 GB, free: 10.61 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.6746, allocations: 0 / 1.504 GB, free: 10.61 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/0.6772, allocations: 1.377 MB / 1.506 GB, free: 9.188 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.6772, allocations: 4 kB / 1.506 GB, free: 9.184 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.6774, allocations: 51.91 kB / 1.506 GB, free: 9.133 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000441/0.6779, allocations: 165.1 kB / 1.506 GB, free: 8.969 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/0.6779, allocations: 15.92 kB / 1.506 GB, free: 8.953 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004827/0.6827, allocations: 3.958 MB / 1.51 GB, free: 4.797 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.6827, allocations: 3.984 kB / 1.51 GB, free: 4.793 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.6848, allocations: 1.029 MB / 1.511 GB, free: 3.742 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003323/0.6851, allocations: 139.1 kB / 1.511 GB, free: 3.605 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.37e-05/0.6852, allocations: 12 kB / 1.511 GB, free: 3.594 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.6855, allocations: 35.95 kB / 1.511 GB, free: 3.559 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.6857, allocations: 51.91 kB / 1.511 GB, free: 3.508 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.63e-05/0.6857, allocations: 15.98 kB / 1.511 GB, free: 3.492 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001791/0.6875, allocations: 1.296 MB / 1.512 GB, free: 2.191 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6875, allocations: 0 / 1.512 GB, free: 2.191 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008911/0.6884, allocations: 195.7 kB / 1.512 GB, free: 2 MB / 1.201 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.002068/0.6905, allocations: 0.5089 MB / 1.513 GB, free: 1.699 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001575/0.6921, allocations: 0.6545 MB / 1.514 GB, free: 1.031 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.6921, allocations: 0 / 1.514 GB, free: 1.031 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009362/0.693, allocations: 0.5172 MB / 1.514 GB, free: 500 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.694, allocations: 203.8 kB / 1.514 GB, free: 308 kB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00413/0.6981, allocations: 2.456 MB / 1.517 GB, free: 13.8 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007062/0.6988, allocations: 0.5466 MB / 1.517 GB, free: 13.22 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.699, allocations: 47.42 kB / 1.517 GB, free: 13.18 MB / 1.217 GB Notification: Performance of SimCode: time 7.21e-07/0.699, allocations: 0 / 1.517 GB, free: 13.18 MB / 1.217 GB Notification: Performance of Templates: time 0.03021/0.7292, allocations: 18.49 MB / 1.535 GB, free: 10.7 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.441914352122694]