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.001005/0.001005, allocations: 71.75 kB / 20.97 MB, free: 3.57 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.0009142/0.0009142, allocations: 165 kB / 24.27 MB, free: 276 kB / 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 0.897/0.897, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 1.817/1.817, allocations: 377.8 MB / 0.6239 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] 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.[0-9,]+.|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.[0-9,]+.|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.974e-06/1.974e-06, allocations: 0 / 0.8115 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.861e-05, allocations: 5.984 kB / 0.8115 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1749/0.1749, allocations: 152.9 MB / 0.9608 GB, free: 8.68 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01915/0.1941, allocations: 22.06 MB / 0.9824 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.1954, allocations: 71.44 kB / 0.9825 GB, free: 2.48 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.1969, allocations: 1.168 MB / 0.9836 GB, free: 1.309 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.198, allocations: 0.9413 MB / 0.9845 GB, free: 372 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006959/0.1987, allocations: 390.7 kB / 0.9849 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0009236/0.1996, allocations: 1.313 MB / 0.9862 GB, free: 14.66 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005146/0.2001, allocations: 0.5628 MB / 0.9867 GB, free: 14.09 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006771/0.2008, allocations: 0.7249 MB / 0.9874 GB, free: 13.37 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008049/0.2016, allocations: 0.9455 MB / 0.9884 GB, free: 12.42 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 8.523e-05/0.2017, allocations: 68 kB / 0.9884 GB, free: 12.36 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.2019, allocations: 119.8 kB / 0.9885 GB, free: 12.24 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.2021, allocations: 336.7 kB / 0.9889 GB, free: 11.91 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002248/0.2023, allocations: 283.1 kB / 0.9891 GB, free: 11.63 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007455/0.2031, allocations: 0.7939 MB / 0.9899 GB, free: 10.83 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2031, allocations: 0 / 0.9899 GB, free: 10.83 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2031, allocations: 4 kB / 0.9899 GB, free: 10.83 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.2031, allocations: 0 / 0.9899 GB, free: 10.83 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.001807/0.2049, allocations: 1.628 MB / 0.9915 GB, free: 9.156 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.2049, allocations: 12.03 kB / 0.9915 GB, free: 9.145 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.2051, allocations: 176 kB / 0.9917 GB, free: 8.973 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005609/0.2057, allocations: 0.613 MB / 0.9923 GB, free: 8.324 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.2058, allocations: 96.39 kB / 0.9924 GB, free: 8.219 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.745e-05/0.2058, allocations: 48 kB / 0.9924 GB, free: 8.172 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/0.2063, allocations: 388.1 kB / 0.9928 GB, free: 7.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.2064, allocations: 3.938 kB / 0.9928 GB, free: 7.766 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.2064, allocations: 20 kB / 0.9928 GB, free: 7.746 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.2064, allocations: 12 kB / 0.9928 GB, free: 7.734 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003069/0.2067, allocations: 161.9 kB / 0.993 GB, free: 7.582 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/0.2087, allocations: 1.814 MB / 0.9947 GB, free: 5.719 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004663/0.2092, allocations: 263.6 kB / 0.995 GB, free: 5.449 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.2095, allocations: 181.5 kB / 0.9952 GB, free: 5.27 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.2095, allocations: 8.328 kB / 0.9952 GB, free: 5.262 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/0.2098, allocations: 202.2 kB / 0.9954 GB, free: 5.051 MB / 0.948 GB Notification: Performance of pre-optimization done (n=44): time 2.254e-06/0.2098, allocations: 0 / 0.9954 GB, free: 5.051 MB / 0.948 GB Notification: Performance of matching and sorting (n=44): time 0.001311/0.2111, allocations: 0.7259 MB / 0.9961 GB, free: 4.309 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.2111, allocations: 59.41 kB / 0.9961 GB, free: 4.238 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009857/0.2121, allocations: 1.265 MB / 0.9974 GB, free: 2.965 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.2122, allocations: 37.7 kB / 0.9974 GB, free: 2.922 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006256/0.2128, allocations: 0.6074 MB / 0.998 GB, free: 2.312 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.25e-05/0.2129, allocations: 154.8 kB / 0.9981 GB, free: 2.16 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.213, allocations: 108 kB / 0.9982 GB, free: 2.047 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2131, allocations: 0.4965 MB / 0.9987 GB, free: 1.543 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.2132, allocations: 77.27 kB / 0.9988 GB, free: 1.469 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.2135, allocations: 257.4 kB / 0.9991 GB, free: 1.148 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/0.2138, allocations: 342 kB / 0.9994 GB, free: 0.75 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2138, allocations: 4 kB / 0.9994 GB, free: 0.7461 MB / 0.948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006767/0.2145, allocations: 0.5507 MB / 0.9999 GB, free: 188 kB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.2145, allocations: 4 kB / 0.9999 GB, free: 184 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2145, allocations: 4 kB / 0.9999 GB, free: 180 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003401/0.2148, allocations: 111.8 kB / 1 GB, free: 64 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.2151, allocations: 99.81 kB / 1 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.2169, allocations: 2.633 MB / 1.003 GB, free: 13.21 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.2171, allocations: 67.67 kB / 1.003 GB, free: 13.14 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.2171, allocations: 23.94 kB / 1.003 GB, free: 13.12 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.0001874/0.2173, allocations: 190.5 kB / 1.003 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.825e-05/0.2174, allocations: 139.2 kB / 1.003 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006385/0.2181, allocations: 495.1 kB / 1.004 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.2181, allocations: 4 kB / 1.004 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.2181, allocations: 4 kB / 1.004 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.2181, allocations: 0 / 1.004 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.2196, allocations: 1.232 MB / 1.005 GB, free: 11 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2196, allocations: 0 / 1.005 GB, free: 11 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.2198, allocations: 47.91 kB / 1.005 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002665/0.22, allocations: 138.5 kB / 1.005 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.2201, allocations: 16 kB / 1.005 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/0.2224, allocations: 4.615 MB / 1.009 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2224, allocations: 8.047 kB / 1.009 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007523/0.2231, allocations: 0.7194 MB / 1.01 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.2233, allocations: 139 kB / 1.01 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/0.2233, allocations: 15.98 kB / 1.01 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.2235, allocations: 27.98 kB / 1.01 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.2236, allocations: 59.83 kB / 1.01 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.2236, allocations: 15.98 kB / 1.01 GB, free: 4.941 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0006085/0.2242, allocations: 0.7887 MB / 1.011 GB, free: 4.148 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2e-07/0.2242, allocations: 0 / 1.011 GB, free: 4.148 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0005058/0.2247, allocations: 199.7 kB / 1.011 GB, free: 3.953 MB / 0.9636 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.00123/0.226, allocations: 462.8 kB / 1.012 GB, free: 3.66 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000663/0.2266, allocations: 0.5155 MB / 1.012 GB, free: 3.129 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2266, allocations: 4 kB / 1.012 GB, free: 3.125 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004178/0.227, allocations: 0.5585 MB / 1.013 GB, free: 2.527 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005775/0.2276, allocations: 208.2 kB / 1.013 GB, free: 2.336 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.2298, allocations: 1.835 MB / 1.015 GB, free: 468 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.2299, allocations: 273.8 kB / 1.015 GB, free: 172 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001831/0.2301, allocations: 84.66 kB / 1.015 GB, free: 84 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.334e-05/0.2302, allocations: 52.48 kB / 1.015 GB, free: 32 kB / 0.9636 GB Notification: Performance of SimCode: time 1.002e-06/0.2302, allocations: 0 / 1.015 GB, free: 32 kB / 0.9636 GB Notification: Performance of Templates: time 0.01427/0.2445, allocations: 10.44 MB / 1.025 GB, free: 5.797 MB / 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.010714039904997]