Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001938/0.001938, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.00204/0.00204, allocations: 157.3 kB / 23.55 MB, free: 0.8633 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.566/1.566, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.052/3.052, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.TestCase3,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.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_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.57e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.2125/0.2125, allocations: 152.9 MB / 0.9601 GB, free: 8.766 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.03241/0.2449, allocations: 22.05 MB / 0.9816 GB, free: 2.645 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.2465, allocations: 71.44 kB / 0.9817 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.2484, allocations: 1.172 MB / 0.9828 GB, free: 1.398 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.001936/0.2503, allocations: 0.9374 MB / 0.9837 GB, free: 468 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009398/0.2512, allocations: 394.7 kB / 0.9841 GB, free: 72 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001549/0.2528, allocations: 1.309 MB / 0.9854 GB, free: 14.76 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007957/0.2536, allocations: 0.5706 MB / 0.9859 GB, free: 14.18 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.2546, allocations: 0.7249 MB / 0.9866 GB, free: 13.45 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/0.2559, allocations: 0.9455 MB / 0.9876 GB, free: 12.51 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.2561, allocations: 64 kB / 0.9876 GB, free: 12.45 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00027/0.2563, allocations: 115.9 kB / 0.9877 GB, free: 12.33 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003565/0.2567, allocations: 332.7 kB / 0.9881 GB, free: 12 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003793/0.2571, allocations: 291 kB / 0.9883 GB, free: 11.72 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.2586, allocations: 1.191 MB / 0.9895 GB, free: 10.52 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2586, allocations: 7.922 kB / 0.9895 GB, free: 10.52 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2586, allocations: 0 / 0.9895 GB, free: 10.52 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.2586, allocations: 0 / 0.9895 GB, free: 10.52 MB / 0.948 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.00307/0.2617, allocations: 1.733 MB / 0.9912 GB, free: 8.738 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.2617, allocations: 8.031 kB / 0.9912 GB, free: 8.73 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002754/0.262, allocations: 176 kB / 0.9914 GB, free: 8.559 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.263, allocations: 0.613 MB / 0.992 GB, free: 7.91 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.2632, allocations: 96.39 kB / 0.9921 GB, free: 7.805 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.416e-05/0.2633, allocations: 55.92 kB / 0.9921 GB, free: 7.75 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.2644, allocations: 0.5306 MB / 0.9926 GB, free: 7.203 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.2644, allocations: 0 / 0.9926 GB, free: 7.203 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.005e-05/0.2645, allocations: 20 kB / 0.9926 GB, free: 7.184 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.2645, allocations: 12 kB / 0.9927 GB, free: 7.172 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008902/0.2654, allocations: 363.7 kB / 0.993 GB, free: 6.816 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004095/0.2695, allocations: 2.193 MB / 0.9951 GB, free: 4.574 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.2705, allocations: 412.5 kB / 0.9955 GB, free: 4.156 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007217/0.2712, allocations: 280.2 kB / 0.9958 GB, free: 3.879 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.2712, allocations: 8.328 kB / 0.9958 GB, free: 3.871 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006009/0.2718, allocations: 282.1 kB / 0.9961 GB, free: 3.582 MB / 0.948 GB Notification: Performance of pre-optimization done (n=44): time 1.833e-06/0.2718, allocations: 0 / 0.9961 GB, free: 3.582 MB / 0.948 GB Notification: Performance of matching and sorting (n=44): time 0.00305/0.2749, allocations: 0.9798 MB / 0.997 GB, free: 2.586 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.2749, allocations: 55.41 kB / 0.9971 GB, free: 2.52 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/0.2768, allocations: 1.436 MB / 0.9985 GB, free: 1.074 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.894e-05/0.2769, allocations: 33.7 kB / 0.9985 GB, free: 1.035 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006969/0.2776, allocations: 0.6583 MB / 0.9992 GB, free: 384 kB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.2777, allocations: 166.7 kB / 0.9993 GB, free: 216 kB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.2779, allocations: 132 kB / 0.9995 GB, free: 76 kB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003193/0.2783, allocations: 0.5043 MB / 1 GB, free: 15.56 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/0.2787, allocations: 189.2 kB / 1 GB, free: 15.38 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006612/0.2794, allocations: 381.3 kB / 1 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.2804, allocations: 0.5408 MB / 1.001 GB, free: 14.33 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.2804, allocations: 4 kB / 1.001 GB, free: 14.33 MB / 0.9636 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001688/0.2821, allocations: 0.7971 MB / 1.002 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2821, allocations: 6.5 kB / 1.002 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.2821, allocations: 4 kB / 1.002 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000514/0.2827, allocations: 145.7 kB / 1.002 GB, free: 13.37 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.2831, allocations: 103.8 kB / 1.002 GB, free: 13.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003997/0.2871, allocations: 3.082 MB / 1.005 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004101/0.2875, allocations: 63.7 kB / 1.005 GB, free: 10 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.881e-05/0.2875, allocations: 27.94 kB / 1.005 GB, free: 9.973 MB / 0.9636 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.000392/0.2879, allocations: 250.4 kB / 1.005 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.2881, allocations: 135.2 kB / 1.006 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.2896, allocations: 0.667 MB / 1.006 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.2896, allocations: 4 kB / 1.006 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.2896, allocations: 4 kB / 1.006 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.2896, allocations: 3.984 kB / 1.006 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002974/0.2926, allocations: 1.607 MB / 1.008 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2926, allocations: 0 / 1.008 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.2929, allocations: 43.97 kB / 1.008 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005329/0.2934, allocations: 188 kB / 1.008 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.2935, allocations: 8 kB / 1.008 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005856/0.2993, allocations: 5.197 MB / 1.013 GB, free: 1.562 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2993, allocations: 0 / 1.013 GB, free: 1.562 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/0.3014, allocations: 1.036 MB / 1.014 GB, free: 0.5039 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003219/0.3017, allocations: 143 kB / 1.014 GB, free: 372 kB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.3018, allocations: 15.98 kB / 1.014 GB, free: 356 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.3021, allocations: 19.98 kB / 1.014 GB, free: 336 kB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.3022, allocations: 59.89 kB / 1.014 GB, free: 276 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-05/0.3023, allocations: 19.98 kB / 1.014 GB, free: 256 kB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001275/0.3036, allocations: 0.8629 MB / 1.015 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1e-07/0.3036, allocations: 0 / 1.015 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000809/0.3044, allocations: 199.7 kB / 1.015 GB, free: 15.19 MB / 0.9792 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.003432/0.3078, allocations: 0.5161 MB / 1.016 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001614/0.3094, allocations: 0.7132 MB / 1.017 GB, free: 14.15 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3094, allocations: 0 / 1.017 GB, free: 14.15 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.3105, allocations: 0.6551 MB / 1.017 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.3116, allocations: 205.1 kB / 1.017 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003736/0.3153, allocations: 1.903 MB / 1.019 GB, free: 11.32 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007169/0.316, allocations: 0.527 MB / 1.02 GB, free: 10.76 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002937/0.3163, allocations: 92.64 kB / 1.02 GB, free: 10.67 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.3165, allocations: 48.48 kB / 1.02 GB, free: 10.62 MB / 0.9792 GB Notification: Performance of SimCode: time 1.343e-06/0.3165, allocations: 0 / 1.02 GB, free: 10.62 MB / 0.9792 GB Notification: Performance of Templates: time 0.02298/0.3394, allocations: 10.37 MB / 1.03 GB, free: 468 kB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.435623471974395]