Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.00159/0.00159, allocations: 117.1 kB / 17.13 MB, free: 5.941 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.001732/0.001732, allocations: 194.2 kB / 20.08 MB, free: 3.012 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.608/1.608, allocations: 225.6 MB / 248.5 MB, free: 3.625 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.822/2.822, allocations: 443.5 MB / 0.7293 GB, free: 14.56 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.TestCase1,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.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_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 71.88 kB / 1.057 GB, free: 2.051 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4055, allocations: 160.7 MB / 1.214 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 1.206/1.611, allocations: 157.3 MB / 1.368 GB, free: 2.914 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03833/1.65, allocations: 21.81 MB / 1.389 GB, free: 2.832 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002959/1.653, allocations: 55.12 kB / 1.389 GB, free: 2.812 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001946/1.655, allocations: 1.163 MB / 1.39 GB, free: 2.199 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002026/1.657, allocations: 0.8665 MB / 1.391 GB, free: 1.664 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001584/1.658, allocations: 450 kB / 1.391 GB, free: 1.312 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002042/1.66, allocations: 1.253 MB / 1.393 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008681/1.661, allocations: 0.5591 MB / 1.393 GB, free: 232 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009695/1.662, allocations: 0.5671 MB / 1.394 GB, free: 15.92 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/1.663, allocations: 1.001 MB / 1.395 GB, free: 15.45 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001299/1.664, allocations: 65.81 kB / 1.395 GB, free: 15.45 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003123/1.664, allocations: 103 kB / 1.395 GB, free: 15.43 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00033/1.664, allocations: 320.1 kB / 1.395 GB, free: 15.23 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005085/1.665, allocations: 494.5 kB / 1.396 GB, free: 14.87 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001552/1.666, allocations: 1.208 MB / 1.397 GB, free: 14.03 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.666, allocations: 5.156 kB / 1.397 GB, free: 14.03 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.523e-06/1.666, allocations: 0 / 1.397 GB, free: 14.03 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.603e-05/1.666, allocations: 0 / 1.397 GB, free: 14.03 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002844/1.669, allocations: 1.521 MB / 1.398 GB, free: 12.83 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/1.669, allocations: 9.406 kB / 1.398 GB, free: 12.83 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/1.669, allocations: 139.9 kB / 1.398 GB, free: 12.75 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/1.67, allocations: 0.6797 MB / 1.399 GB, free: 12.18 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/1.671, allocations: 73.41 kB / 1.399 GB, free: 12.13 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/1.671, allocations: 47 kB / 1.399 GB, free: 12.11 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/1.672, allocations: 0.5259 MB / 1.4 GB, free: 11.78 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/1.672, allocations: 5.469 kB / 1.4 GB, free: 11.78 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-05/1.672, allocations: 19.52 kB / 1.4 GB, free: 11.76 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/1.672, allocations: 10.5 kB / 1.4 GB, free: 11.76 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009184/1.673, allocations: 406.4 kB / 1.4 GB, free: 11.57 MB / 1.076 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.004479/1.677, allocations: 2.735 MB / 1.403 GB, free: 9.211 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/1.678, allocations: 411.5 kB / 1.403 GB, free: 8.996 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006895/1.679, allocations: 291.3 kB / 1.404 GB, free: 8.852 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.354e-05/1.679, allocations: 5.453 kB / 1.404 GB, free: 8.852 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006392/1.68, allocations: 284.8 kB / 1.404 GB, free: 8.668 MB / 1.076 GB Notification: Performance of pre-optimization done (n=44): time 2.886e-06/1.68, allocations: 0 / 1.404 GB, free: 8.668 MB / 1.076 GB Notification: Performance of matching and sorting (n=44): time 0.002916/1.683, allocations: 1.139 MB / 1.405 GB, free: 7.973 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/1.683, allocations: 64.31 kB / 1.405 GB, free: 7.902 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/1.685, allocations: 1.758 MB / 1.407 GB, free: 7.109 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.312e-05/1.685, allocations: 42.34 kB / 1.407 GB, free: 7.066 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005347/1.686, allocations: 0.5338 MB / 1.407 GB, free: 6.602 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/1.686, allocations: 144 kB / 1.407 GB, free: 6.477 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/1.686, allocations: 99.28 kB / 1.407 GB, free: 6.414 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001778/1.686, allocations: 327 kB / 1.408 GB, free: 6.094 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005038/1.687, allocations: 219.4 kB / 1.408 GB, free: 5.988 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006083/1.687, allocations: 332.4 kB / 1.408 GB, free: 5.742 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00096/1.688, allocations: 0.5196 MB / 1.409 GB, free: 5.391 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.688, allocations: 0 / 1.409 GB, free: 5.391 MB / 1.076 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001765/1.69, allocations: 0.8103 MB / 1.41 GB, free: 4.961 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/1.69, allocations: 15.84 kB / 1.41 GB, free: 4.953 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.69, allocations: 5.125 kB / 1.41 GB, free: 4.953 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004533/1.69, allocations: 137.2 kB / 1.41 GB, free: 4.887 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/1.691, allocations: 104.2 kB / 1.41 GB, free: 4.859 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003235/1.694, allocations: 2.599 MB / 1.412 GB, free: 2.629 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007396/1.695, allocations: 81.98 kB / 1.412 GB, free: 2.578 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/1.695, allocations: 23.72 kB / 1.413 GB, free: 2.57 MB / 1.076 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,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (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.000762/1.696, allocations: 391.4 kB / 1.413 GB, free: 2.328 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/1.696, allocations: 124 kB / 1.413 GB, free: 2.258 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/1.696, allocations: 141.1 kB / 1.413 GB, free: 2.176 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.696, allocations: 4.938 kB / 1.413 GB, free: 2.176 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/1.696, allocations: 6.781 kB / 1.413 GB, free: 2.172 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/1.696, allocations: 3.984 kB / 1.413 GB, free: 2.168 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/1.699, allocations: 1.487 MB / 1.415 GB, free: 1.168 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.699, allocations: 0 / 1.415 GB, free: 1.168 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/1.699, allocations: 44.66 kB / 1.415 GB, free: 1.156 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000431/1.699, allocations: 157.4 kB / 1.415 GB, free: 1.078 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/1.699, allocations: 21.77 kB / 1.415 GB, free: 1.062 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004408/1.704, allocations: 4.018 MB / 1.419 GB, free: 13.37 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.704, allocations: 2.75 kB / 1.419 GB, free: 13.37 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/1.706, allocations: 0.9959 MB / 1.42 GB, free: 12.77 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003879/1.706, allocations: 222.4 kB / 1.42 GB, free: 12.57 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.744e-05/1.706, allocations: 16.61 kB / 1.42 GB, free: 12.55 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003417/1.707, allocations: 27.62 kB / 1.42 GB, free: 12.54 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/1.707, allocations: 48.17 kB / 1.42 GB, free: 12.52 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/1.707, allocations: 17.03 kB / 1.42 GB, free: 12.51 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001717/1.709, allocations: 1.292 MB / 1.421 GB, free: 11.91 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/1.709, allocations: 0 / 1.421 GB, free: 11.91 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000983/1.71, allocations: 197.7 kB / 1.421 GB, free: 11.75 MB / 1.092 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * 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 (28): * Single equations (assignments): 20 * 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.002104/1.712, allocations: 495.9 kB / 1.422 GB, free: 11.47 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001781/1.714, allocations: 0.6391 MB / 1.423 GB, free: 10.82 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.714, allocations: 0 / 1.423 GB, free: 10.82 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0009782/1.715, allocations: 0.5091 MB / 1.423 GB, free: 10.28 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/1.716, allocations: 205.3 kB / 1.423 GB, free: 10.09 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005832/1.722, allocations: 2.443 MB / 1.426 GB, free: 7.609 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/1.723, allocations: 1.142 MB / 1.427 GB, free: 6.441 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/1.723, allocations: 47.42 kB / 1.427 GB, free: 6.395 MB / 1.092 GB Notification: Performance of SimCode: time 2.044e-06/1.723, allocations: 4 kB / 1.427 GB, free: 6.391 MB / 1.092 GB Notification: Performance of Templates: time 0.02983/1.753, allocations: 17.9 MB / 1.444 GB, free: 4.523 MB / 1.107 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile [Timeout 300] (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 16.475100996904075]