Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.001857/0.001857, allocations: 79.75 kB / 20.23 MB, free: 4.168 MB / 18.57 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.001973/0.001973, allocations: 153.4 kB / 23.55 MB, free: 0.8555 MB / 18.57 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.54/1.54, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.875/2.875, allocations: 359 MB / 0.6048 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.809e-05, allocations: 3.297 kB / 0.7864 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.2219/0.222, allocations: 152.8 MB / 0.9356 GB, free: 3.578 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0333/0.2553, allocations: 22.06 MB / 0.9571 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001716/0.257, allocations: 75.44 kB / 0.9572 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.2589, allocations: 1.168 MB / 0.9583 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001771/0.2607, allocations: 0.9374 MB / 0.9592 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009792/0.2617, allocations: 390.7 kB / 0.9596 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001809/0.2635, allocations: 1.309 MB / 0.9609 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008382/0.2643, allocations: 0.5706 MB / 0.9614 GB, free: 8.992 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.2654, allocations: 0.7171 MB / 0.9621 GB, free: 8.273 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/0.2667, allocations: 0.9533 MB / 0.9631 GB, free: 7.32 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.2668, allocations: 64 kB / 0.9631 GB, free: 7.258 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002653/0.2671, allocations: 111.9 kB / 0.9632 GB, free: 7.148 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003661/0.2675, allocations: 328.7 kB / 0.9636 GB, free: 6.828 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003846/0.2679, allocations: 291 kB / 0.9638 GB, free: 6.543 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001549/0.2694, allocations: 1.199 MB / 0.965 GB, free: 5.34 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2694, allocations: 0 / 0.965 GB, free: 5.34 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2694, allocations: 0 / 0.965 GB, free: 5.34 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.2694, allocations: 0 / 0.965 GB, free: 5.34 MB / 0.9167 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.002967/0.2724, allocations: 1.737 MB / 0.9667 GB, free: 3.559 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2724, allocations: 12.03 kB / 0.9667 GB, free: 3.547 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002962/0.2727, allocations: 176 kB / 0.9669 GB, free: 3.375 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.2738, allocations: 0.6053 MB / 0.9675 GB, free: 2.727 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003701/0.2742, allocations: 104.3 kB / 0.9676 GB, free: 2.609 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.2743, allocations: 55.97 kB / 0.9676 GB, free: 2.555 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.2753, allocations: 0.5307 MB / 0.9681 GB, free: 2.008 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.2754, allocations: 4 kB / 0.9681 GB, free: 2.004 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.892e-05/0.2754, allocations: 16 kB / 0.9682 GB, free: 1.988 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.2754, allocations: 8 kB / 0.9682 GB, free: 1.98 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008885/0.2763, allocations: 367.7 kB / 0.9685 GB, free: 1.621 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004035/0.2803, allocations: 2.19 MB / 0.9707 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.2814, allocations: 418 kB / 0.9711 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000733/0.2821, allocations: 282.1 kB / 0.9713 GB, free: 14.69 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 4.172e-05/0.2822, allocations: 8.328 kB / 0.9713 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006116/0.2828, allocations: 281.8 kB / 0.9716 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=44): time 2.013e-06/0.2828, allocations: 0 / 0.9716 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of matching and sorting (n=44): time 0.002862/0.2856, allocations: 0.9758 MB / 0.9726 GB, free: 13.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.2857, allocations: 59.41 kB / 0.9726 GB, free: 13.33 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/0.2876, allocations: 1.432 MB / 0.974 GB, free: 11.89 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.179e-05/0.2877, allocations: 37.7 kB / 0.974 GB, free: 11.84 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009196/0.2886, allocations: 0.6622 MB / 0.9747 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.2888, allocations: 170.6 kB / 0.9749 GB, free: 11.01 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.289, allocations: 124 kB / 0.975 GB, free: 10.88 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002956/0.2893, allocations: 0.5082 MB / 0.9755 GB, free: 10.37 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004858/0.2897, allocations: 185.2 kB / 0.9756 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006649/0.2904, allocations: 377.4 kB / 0.976 GB, free: 9.75 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.2915, allocations: 0.5431 MB / 0.9765 GB, free: 9.141 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2915, allocations: 3.938 kB / 0.9765 GB, free: 9.137 MB / 0.9323 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001706/0.2932, allocations: 0.7908 MB / 0.9773 GB, free: 8.336 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.2932, allocations: 8.344 kB / 0.9773 GB, free: 8.328 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2932, allocations: 4 kB / 0.9773 GB, free: 8.324 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005209/0.2937, allocations: 147.6 kB / 0.9775 GB, free: 8.176 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/0.2941, allocations: 95.83 kB / 0.9776 GB, free: 8.082 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003746/0.2979, allocations: 3.086 MB / 0.9806 GB, free: 4.879 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004035/0.2983, allocations: 59.7 kB / 0.9806 GB, free: 4.82 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/0.2983, allocations: 23.94 kB / 0.9807 GB, free: 4.797 MB / 0.9323 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.000369/0.2987, allocations: 258.4 kB / 0.9809 GB, free: 4.535 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.2989, allocations: 135.2 kB / 0.981 GB, free: 4.402 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/0.3006, allocations: 0.6593 MB / 0.9817 GB, free: 3.727 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.3006, allocations: 8 kB / 0.9817 GB, free: 3.719 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3006, allocations: 0 / 0.9817 GB, free: 3.719 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.3006, allocations: 7.984 kB / 0.9817 GB, free: 3.711 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/0.3035, allocations: 1.607 MB / 0.9833 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.3035, allocations: 4 kB / 0.9833 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.3038, allocations: 47.91 kB / 0.9833 GB, free: 2.004 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005241/0.3043, allocations: 175.3 kB / 0.9835 GB, free: 1.824 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.3043, allocations: 8 kB / 0.9835 GB, free: 1.816 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00569/0.31, allocations: 5.203 MB / 0.9886 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.31, allocations: 4 kB / 0.9886 GB, free: 12.37 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/0.3121, allocations: 1.032 MB / 0.9896 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003288/0.3124, allocations: 143 kB / 0.9897 GB, free: 11.17 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.545e-05/0.3125, allocations: 15.98 kB / 0.9897 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.3128, allocations: 23.98 kB / 0.9897 GB, free: 11.13 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.3129, allocations: 59.89 kB / 0.9898 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/0.313, allocations: 19.98 kB / 0.9898 GB, free: 11.05 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001233/0.3142, allocations: 0.859 MB / 0.9907 GB, free: 10.19 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.3142, allocations: 0 / 0.9907 GB, free: 10.19 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008236/0.315, allocations: 199.7 kB / 0.9909 GB, free: 9.996 MB / 0.948 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.003424/0.3185, allocations: 0.5074 MB / 0.9914 GB, free: 9.695 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001635/0.3201, allocations: 0.7264 MB / 0.9921 GB, free: 8.953 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.3201, allocations: 4 kB / 0.9921 GB, free: 8.949 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.3212, allocations: 0.6517 MB / 0.9927 GB, free: 8.258 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.3223, allocations: 197.6 kB / 0.9929 GB, free: 8.078 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/0.3257, allocations: 1.899 MB / 0.9947 GB, free: 6.133 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006739/0.3264, allocations: 0.5271 MB / 0.9953 GB, free: 5.57 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002689/0.3266, allocations: 88.66 kB / 0.9953 GB, free: 5.48 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.3268, allocations: 48.48 kB / 0.9954 GB, free: 5.434 MB / 0.948 GB Notification: Performance of SimCode: time 9.41e-07/0.3268, allocations: 7.938 kB / 0.9954 GB, free: 5.426 MB / 0.948 GB Notification: Performance of Templates: time 0.02218/0.3489, allocations: 10.36 MB / 1.006 GB, free: 11.29 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile [Timeout 300] (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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: 9.43477717298083]