Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.002552/0.002552, allocations: 87.69 kB / 20.24 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.003/0.003, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.587/1.587, 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 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.029/3.029, allocations: 377.8 MB / 0.6232 GB, free: 8.512 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.TestCase6,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.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,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.TestCase6") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.935e-05/3.131e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.268/0.2681, allocations: 153.1 MB / 0.9603 GB, free: 8.508 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.03229/0.3003, allocations: 22.18 MB / 0.982 GB, free: 2.262 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001865/0.3022, allocations: 71.44 kB / 0.9821 GB, free: 2.191 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.002078/0.3043, allocations: 1.359 MB / 0.9834 GB, free: 0.8281 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.001992/0.3063, allocations: 1.058 MB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.3074, allocations: 434.6 kB / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001951/0.3093, allocations: 1.508 MB / 0.9863 GB, free: 13.83 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009523/0.3103, allocations: 0.6687 MB / 0.987 GB, free: 13.14 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.3115, allocations: 0.834 MB / 0.9878 GB, free: 12.31 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001599/0.3131, allocations: 1.141 MB / 0.9889 GB, free: 11.17 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.3132, allocations: 72 kB / 0.989 GB, free: 11.1 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003234/0.3135, allocations: 127.9 kB / 0.9891 GB, free: 10.97 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004101/0.314, allocations: 396.2 kB / 0.9895 GB, free: 10.58 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004249/0.3144, allocations: 330.8 kB / 0.9898 GB, free: 10.26 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.3161, allocations: 1.359 MB / 0.9911 GB, free: 8.895 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3161, allocations: 0 / 0.9911 GB, free: 8.895 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3161, allocations: 0 / 0.9911 GB, free: 8.895 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.516e-05/0.3161, allocations: 0 / 0.9911 GB, free: 8.895 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00333/0.3195, allocations: 1.977 MB / 0.993 GB, free: 6.863 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3195, allocations: 8.031 kB / 0.993 GB, free: 6.855 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003907/0.3199, allocations: 211.8 kB / 0.9932 GB, free: 6.648 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.3211, allocations: 0.7062 MB / 0.9939 GB, free: 5.906 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/0.3212, allocations: 100.4 kB / 0.994 GB, free: 5.797 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.3213, allocations: 55.98 kB / 0.9941 GB, free: 5.742 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.3225, allocations: 0.5813 MB / 0.9946 GB, free: 5.141 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.3226, allocations: 0 / 0.9946 GB, free: 5.141 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.237e-05/0.3226, allocations: 24 kB / 0.9947 GB, free: 5.117 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.3226, allocations: 12 kB / 0.9947 GB, free: 5.105 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009506/0.3236, allocations: 399.7 kB / 0.9951 GB, free: 4.719 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004358/0.3279, allocations: 2.414 MB / 0.9974 GB, free: 2.234 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.3291, allocations: 456.5 kB / 0.9979 GB, free: 1.777 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006573/0.3297, allocations: 276.3 kB / 0.9981 GB, free: 1.504 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.3298, allocations: 12.31 kB / 0.9981 GB, free: 1.492 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006756/0.3304, allocations: 331.6 kB / 0.9984 GB, free: 1.156 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 1.924e-06/0.3304, allocations: 0 / 0.9984 GB, free: 1.156 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.003648/0.3341, allocations: 1.151 MB / 0.9996 GB, free: 15.99 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.3341, allocations: 59.91 kB / 0.9996 GB, free: 15.92 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002262/0.3364, allocations: 1.694 MB / 1.001 GB, free: 14.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.201e-05/0.3365, allocations: 37.7 kB / 1.001 GB, free: 14.15 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008462/0.3373, allocations: 0.7776 MB / 1.002 GB, free: 13.37 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/0.3375, allocations: 186.6 kB / 1.002 GB, free: 13.18 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/0.3378, allocations: 136 kB / 1.002 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003088/0.3381, allocations: 0.5237 MB / 1.003 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005349/0.3386, allocations: 205.2 kB / 1.003 GB, free: 12.31 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006711/0.3393, allocations: 366.7 kB / 1.003 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.3404, allocations: 0.5617 MB / 1.004 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.3404, allocations: 4 kB / 1.004 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001902/0.3423, allocations: 0.883 MB / 1.005 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3423, allocations: 4 kB / 1.005 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3423, allocations: 4 kB / 1.005 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006531/0.3429, allocations: 182.1 kB / 1.005 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/0.3434, allocations: 103.8 kB / 1.005 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004748/0.3481, allocations: 3.416 MB / 1.008 GB, free: 6.566 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000438/0.3485, allocations: 67.64 kB / 1.009 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.635e-05/0.3486, allocations: 20 kB / 1.009 GB, free: 6.48 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.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,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00042/0.349, allocations: 270.9 kB / 1.009 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.3492, allocations: 163 kB / 1.009 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/0.351, allocations: 0.7769 MB / 1.01 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.351, allocations: 4 kB / 1.01 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.351, allocations: 4 kB / 1.01 GB, free: 5.246 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.3511, allocations: 3.984 kB / 1.01 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003481/0.3545, allocations: 1.862 MB / 1.012 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.3545, allocations: 8 kB / 1.012 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.3548, allocations: 47.91 kB / 1.012 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006385/0.3554, allocations: 209 kB / 1.012 GB, free: 3.055 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.007e-05/0.3555, allocations: 15.94 kB / 1.012 GB, free: 3.039 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006363/0.3619, allocations: 5.404 MB / 1.017 GB, free: 13.39 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3619, allocations: 0 / 1.017 GB, free: 13.39 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002425/0.3643, allocations: 1.196 MB / 1.018 GB, free: 12.17 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003821/0.3647, allocations: 170.9 kB / 1.018 GB, free: 12 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.3648, allocations: 12 kB / 1.018 GB, free: 11.99 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/0.3651, allocations: 31.97 kB / 1.018 GB, free: 11.96 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.3653, allocations: 68.33 kB / 1.019 GB, free: 11.89 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.492e-05/0.3653, allocations: 23.92 kB / 1.019 GB, free: 11.87 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001435/0.3668, allocations: 1.017 MB / 1.02 GB, free: 10.85 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.3668, allocations: 0 / 1.02 GB, free: 10.85 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0008526/0.3676, allocations: 227.7 kB / 1.02 GB, free: 10.63 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.003705/0.3713, allocations: 0.5125 MB / 1.02 GB, free: 10.33 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001939/0.3733, allocations: 0.8047 MB / 1.021 GB, free: 9.504 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3733, allocations: 0 / 1.021 GB, free: 9.504 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.3745, allocations: 0.7024 MB / 1.022 GB, free: 8.758 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.3757, allocations: 237.1 kB / 1.022 GB, free: 8.543 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004172/0.3799, allocations: 2.275 MB / 1.024 GB, free: 6.223 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008053/0.3807, allocations: 0.6204 MB / 1.025 GB, free: 5.574 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003102/0.381, allocations: 89 kB / 1.025 GB, free: 5.484 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.3812, allocations: 56.48 kB / 1.025 GB, free: 5.43 MB / 0.9792 GB Notification: Performance of SimCode: time 1.303e-06/0.3812, allocations: 0 / 1.025 GB, free: 5.43 MB / 0.9792 GB Notification: Performance of Templates: time 0.02537/0.4065, allocations: 11.84 MB / 1.036 GB, free: 9.812 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.075166726019233]