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.001725/0.001725, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.002182/0.002182, allocations: 220 kB / 23.05 MB, free: 4.844 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.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.278/3.278, allocations: 0.49 GB / 0.7959 GB, free: 35.38 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.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: 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.002929/0.002929, allocations: 69.95 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4241, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1993/0.6234, allocations: 138.5 MB / 1.462 GB, free: 5.93 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03344/0.6568, allocations: 19.71 MB / 1.482 GB, free: 2.164 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00259/0.6594, allocations: 71.44 kB / 1.482 GB, free: 2.094 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002009/0.6614, allocations: 1.165 MB / 1.483 GB, free: 0.9258 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002275/0.6637, allocations: 0.9224 MB / 1.484 GB, free: 0 / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.665, allocations: 390.9 kB / 1.484 GB, free: 15.62 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002039/0.6671, allocations: 1.267 MB / 1.485 GB, free: 14.34 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009764/0.6681, allocations: 0.543 MB / 1.486 GB, free: 13.79 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.6691, allocations: 0.5724 MB / 1.486 GB, free: 13.22 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.6705, allocations: 0.9799 MB / 1.487 GB, free: 12.23 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.6706, allocations: 64 kB / 1.488 GB, free: 12.17 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003247/0.671, allocations: 112 kB / 1.488 GB, free: 12.06 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003367/0.6713, allocations: 332.6 kB / 1.488 GB, free: 11.74 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004382/0.6717, allocations: 381.5 kB / 1.488 GB, free: 11.36 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001609/0.6733, allocations: 1.225 MB / 1.489 GB, free: 10.13 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.6733, allocations: 0 / 1.489 GB, free: 10.13 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.324e-06/0.6733, allocations: 0 / 1.489 GB, free: 10.13 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.6734, allocations: 4 kB / 1.489 GB, free: 10.13 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.002801/0.6762, allocations: 1.513 MB / 1.491 GB, free: 8.578 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.6762, allocations: 8.031 kB / 1.491 GB, free: 8.57 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002369/0.6764, allocations: 144 kB / 1.491 GB, free: 8.43 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.6775, allocations: 0.6103 MB / 1.492 GB, free: 7.777 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/0.6776, allocations: 100.4 kB / 1.492 GB, free: 7.668 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-05/0.6777, allocations: 55.92 kB / 1.492 GB, free: 7.613 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.6788, allocations: 0.5223 MB / 1.492 GB, free: 7.078 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.6788, allocations: 0 / 1.492 GB, free: 7.078 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-05/0.6789, allocations: 16 kB / 1.492 GB, free: 7.062 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.6789, allocations: 8 kB / 1.492 GB, free: 7.055 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009097/0.6798, allocations: 419.7 kB / 1.493 GB, free: 6.645 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.003728/0.6835, allocations: 1.845 MB / 1.495 GB, free: 4.758 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.6847, allocations: 428.4 kB / 1.495 GB, free: 4.328 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/0.6853, allocations: 269.3 kB / 1.495 GB, free: 4.062 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.6854, allocations: 8.328 kB / 1.495 GB, free: 4.055 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006374/0.686, allocations: 302.5 kB / 1.496 GB, free: 3.75 MB / 1.186 GB Notification: Performance of pre-optimization done (n=45): time 3.126e-06/0.686, allocations: 0 / 1.496 GB, free: 3.75 MB / 1.186 GB Notification: Performance of matching and sorting (n=45): time 0.00324/0.6892, allocations: 1.1 MB / 1.497 GB, free: 2.637 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.6893, allocations: 63.41 kB / 1.497 GB, free: 2.562 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002328/0.6916, allocations: 1.766 MB / 1.498 GB, free: 0.7852 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.146e-05/0.6917, allocations: 37.7 kB / 1.498 GB, free: 0.7422 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005686/0.6923, allocations: 0.522 MB / 1.499 GB, free: 220 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.6925, allocations: 154.8 kB / 1.499 GB, free: 64 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.6927, allocations: 94.78 kB / 1.499 GB, free: 15.96 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.6928, allocations: 326 kB / 1.5 GB, free: 15.64 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005446/0.6934, allocations: 221.2 kB / 1.5 GB, free: 15.42 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006217/0.694, allocations: 329.7 kB / 1.5 GB, free: 15.06 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.695, allocations: 0.5217 MB / 1.501 GB, free: 14.5 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.695, allocations: 4 kB / 1.501 GB, free: 14.5 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001987/0.697, allocations: 0.8482 MB / 1.501 GB, free: 13.64 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.6971, allocations: 8 kB / 1.501 GB, free: 13.64 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.6971, allocations: 0 / 1.501 GB, free: 13.64 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006049/0.6977, allocations: 190.4 kB / 1.502 GB, free: 13.45 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/0.698, allocations: 87.88 kB / 1.502 GB, free: 13.36 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004024/0.7021, allocations: 2.843 MB / 1.504 GB, free: 10.42 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005938/0.7027, allocations: 67.75 kB / 1.504 GB, free: 10.36 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.7027, allocations: 20 kB / 1.505 GB, free: 10.34 MB / 1.201 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.0007166/0.7034, allocations: 387.8 kB / 1.505 GB, free: 9.945 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.7036, allocations: 127.1 kB / 1.505 GB, free: 9.82 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/0.7053, allocations: 0.763 MB / 1.506 GB, free: 9.039 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.7053, allocations: 7.984 kB / 1.506 GB, free: 9.031 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.7053, allocations: 4 kB / 1.506 GB, free: 9.027 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.7053, allocations: 0 / 1.506 GB, free: 9.027 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/0.7081, allocations: 1.451 MB / 1.507 GB, free: 7.535 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.7081, allocations: 0 / 1.507 GB, free: 7.535 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.7084, allocations: 51.91 kB / 1.507 GB, free: 7.484 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005052/0.7089, allocations: 195.2 kB / 1.507 GB, free: 7.289 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/0.7089, allocations: 11.98 kB / 1.507 GB, free: 7.277 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005145/0.7141, allocations: 4.27 MB / 1.512 GB, free: 2.805 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.7141, allocations: 0 / 1.512 GB, free: 2.805 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/0.7163, allocations: 1.084 MB / 1.513 GB, free: 1.703 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004074/0.7168, allocations: 147.1 kB / 1.513 GB, free: 1.559 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.656e-05/0.7168, allocations: 15.98 kB / 1.513 GB, free: 1.543 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.7172, allocations: 27.97 kB / 1.513 GB, free: 1.516 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/0.7173, allocations: 60.33 kB / 1.513 GB, free: 1.457 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/0.7174, allocations: 12 kB / 1.513 GB, free: 1.445 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001664/0.719, allocations: 1.284 MB / 1.514 GB, free: 160 kB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.719, allocations: 4 kB / 1.514 GB, free: 156 kB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009308/0.72, allocations: 207.9 kB / 1.514 GB, free: 15.95 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,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.002024/0.722, allocations: 0.5011 MB / 1.515 GB, free: 15.65 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001819/0.7238, allocations: 0.7021 MB / 1.516 GB, free: 14.94 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.7238, allocations: 4 kB / 1.516 GB, free: 14.93 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.7249, allocations: 0.5505 MB / 1.516 GB, free: 14.35 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.726, allocations: 197.7 kB / 1.516 GB, free: 14.17 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004491/0.7305, allocations: 2.482 MB / 1.519 GB, free: 11.66 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007386/0.7313, allocations: 0.5505 MB / 1.519 GB, free: 11.07 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.7315, allocations: 47.42 kB / 1.519 GB, free: 11.02 MB / 1.217 GB Notification: Performance of SimCode: time 1.573e-06/0.7315, allocations: 0 / 1.519 GB, free: 11.02 MB / 1.217 GB Notification: Performance of Templates: time 0.03127/0.7627, allocations: 18.52 MB / 1.537 GB, free: 8.523 MB / 1.232 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/jenkins1/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: 14.945615197066218]