Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.001772/0.001772, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.0015/0.0015, allocations: 207.8 kB / 22.99 MB, free: 4.957 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.218/3.218, allocations: 0.49 GB / 0.7959 GB, free: 35.59 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.TestCase2,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.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,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.TestCase2") [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.002051/0.002051, allocations: 75.05 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3654, allocations: 176.1 MB / 1.327 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1783/0.5437, allocations: 138.5 MB / 1.462 GB, free: 5.984 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02698/0.5707, allocations: 19.71 MB / 1.482 GB, free: 2.215 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002152/0.5728, allocations: 71.44 kB / 1.482 GB, free: 2.145 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.5746, allocations: 1.173 MB / 1.483 GB, free: 0.9688 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001942/0.5766, allocations: 0.9146 MB / 1.484 GB, free: 52 kB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.5777, allocations: 386.9 kB / 1.484 GB, free: 15.67 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001641/0.5793, allocations: 1.278 MB / 1.485 GB, free: 14.39 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007547/0.5801, allocations: 0.5546 MB / 1.486 GB, free: 13.83 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007358/0.5808, allocations: 0.5608 MB / 1.486 GB, free: 13.27 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.582, allocations: 1.003 MB / 1.487 GB, free: 12.26 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.5821, allocations: 71.94 kB / 1.487 GB, free: 12.19 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002645/0.5824, allocations: 120 kB / 1.488 GB, free: 12.07 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003106/0.5827, allocations: 324.7 kB / 1.488 GB, free: 11.75 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003934/0.5831, allocations: 385.5 kB / 1.488 GB, free: 11.38 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.5845, allocations: 1.229 MB / 1.489 GB, free: 10.14 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5845, allocations: 0 / 1.489 GB, free: 10.14 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5845, allocations: 0 / 1.489 GB, free: 10.14 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.5845, allocations: 0 / 1.489 GB, free: 10.14 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.002525/0.587, allocations: 1.512 MB / 1.491 GB, free: 8.59 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.5871, allocations: 12.03 kB / 1.491 GB, free: 8.578 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/0.5873, allocations: 148 kB / 1.491 GB, free: 8.434 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009691/0.5882, allocations: 0.5986 MB / 1.492 GB, free: 7.793 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.5884, allocations: 100.4 kB / 1.492 GB, free: 7.684 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.019e-05/0.5885, allocations: 48 kB / 1.492 GB, free: 7.637 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009808/0.5895, allocations: 0.5184 MB / 1.492 GB, free: 7.105 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.5895, allocations: 0 / 1.492 GB, free: 7.105 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.725e-05/0.5895, allocations: 20 kB / 1.492 GB, free: 7.086 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.5896, allocations: 12 kB / 1.492 GB, free: 7.074 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008349/0.5904, allocations: 415.7 kB / 1.493 GB, free: 6.668 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.003237/0.5936, allocations: 1.841 MB / 1.495 GB, free: 4.785 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.5946, allocations: 428.2 kB / 1.495 GB, free: 4.355 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005788/0.5952, allocations: 273.3 kB / 1.495 GB, free: 4.086 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/0.5952, allocations: 8.312 kB / 1.495 GB, free: 4.078 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006119/0.5958, allocations: 306.5 kB / 1.496 GB, free: 3.77 MB / 1.186 GB Notification: Performance of pre-optimization done (n=45): time 2.304e-06/0.5959, allocations: 0 / 1.496 GB, free: 3.77 MB / 1.186 GB Notification: Performance of matching and sorting (n=45): time 0.00298/0.5988, allocations: 1.112 MB / 1.497 GB, free: 2.645 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.5989, allocations: 55.41 kB / 1.497 GB, free: 2.578 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/0.6009, allocations: 1.763 MB / 1.498 GB, free: 0.8047 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.139e-05/0.601, allocations: 37.7 kB / 1.498 GB, free: 0.7617 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004676/0.6015, allocations: 0.5181 MB / 1.499 GB, free: 244 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.6016, allocations: 158.7 kB / 1.499 GB, free: 84 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.6018, allocations: 98.33 kB / 1.499 GB, free: 15.98 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.6019, allocations: 330 kB / 1.499 GB, free: 15.65 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004826/0.6024, allocations: 221.2 kB / 1.5 GB, free: 15.43 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000561/0.603, allocations: 333.8 kB / 1.5 GB, free: 15.07 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009107/0.6039, allocations: 0.5138 MB / 1.501 GB, free: 14.52 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6039, allocations: 0 / 1.501 GB, free: 14.52 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00167/0.6055, allocations: 0.8476 MB / 1.501 GB, free: 13.66 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.6056, allocations: 12.03 kB / 1.501 GB, free: 13.65 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.6056, allocations: 4 kB / 1.501 GB, free: 13.64 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005231/0.6061, allocations: 174.3 kB / 1.502 GB, free: 13.47 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.6065, allocations: 95.81 kB / 1.502 GB, free: 13.38 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003601/0.6101, allocations: 2.835 MB / 1.504 GB, free: 10.45 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004576/0.6105, allocations: 67.69 kB / 1.504 GB, free: 10.38 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.6106, allocations: 20 kB / 1.504 GB, free: 10.36 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.0005647/0.6111, allocations: 383.8 kB / 1.505 GB, free: 9.973 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.6113, allocations: 127.2 kB / 1.505 GB, free: 9.848 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/0.6128, allocations: 0.7746 MB / 1.506 GB, free: 9.055 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.6128, allocations: 8 kB / 1.506 GB, free: 9.047 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.6129, allocations: 4 kB / 1.506 GB, free: 9.043 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.6129, allocations: 0 / 1.506 GB, free: 9.043 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/0.6154, allocations: 1.443 MB / 1.507 GB, free: 7.559 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.6154, allocations: 0 / 1.507 GB, free: 7.559 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.6156, allocations: 47.97 kB / 1.507 GB, free: 7.512 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005124/0.6162, allocations: 199.2 kB / 1.507 GB, free: 7.312 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.281e-05/0.6162, allocations: 15.98 kB / 1.507 GB, free: 7.297 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004858/0.6211, allocations: 4.261 MB / 1.512 GB, free: 2.836 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6211, allocations: 0 / 1.512 GB, free: 2.836 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/0.6233, allocations: 1.088 MB / 1.513 GB, free: 1.73 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003867/0.6236, allocations: 151.3 kB / 1.513 GB, free: 1.582 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.6237, allocations: 11.98 kB / 1.513 GB, free: 1.57 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.6241, allocations: 31.97 kB / 1.513 GB, free: 1.539 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.6242, allocations: 60.31 kB / 1.513 GB, free: 1.48 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.938e-05/0.6243, allocations: 16 kB / 1.513 GB, free: 1.465 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001642/0.6259, allocations: 1.28 MB / 1.514 GB, free: 184 kB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.6259, allocations: 0 / 1.514 GB, free: 184 kB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009553/0.6269, allocations: 215.7 kB / 1.514 GB, free: 15.96 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.001942/0.6288, allocations: 0.5027 MB / 1.515 GB, free: 15.68 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001597/0.6304, allocations: 0.7071 MB / 1.515 GB, free: 14.96 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6304, allocations: 0.6875 kB / 1.515 GB, free: 14.96 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009568/0.6314, allocations: 0.5501 MB / 1.516 GB, free: 14.38 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009871/0.6324, allocations: 205.3 kB / 1.516 GB, free: 14.19 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003906/0.6363, allocations: 2.426 MB / 1.519 GB, free: 11.73 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006537/0.6369, allocations: 0.5621 MB / 1.519 GB, free: 11.13 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003084/0.6372, allocations: 84.62 kB / 1.519 GB, free: 11.05 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.6373, allocations: 47.38 kB / 1.519 GB, free: 11 MB / 1.217 GB Notification: Performance of SimCode: time 1.142e-06/0.6373, allocations: 0 / 1.519 GB, free: 11 MB / 1.217 GB Notification: Performance of Templates: time 0.02256/0.6599, allocations: 12.25 MB / 1.531 GB, free: 14.95 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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: 10.468988640001044]