Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.0009213/0.0009213, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009152/0.0009152, allocations: 161 kB / 24.17 MB, free: 332 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.9552/0.9552, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.904/1.904, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.TestCase4,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.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,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.TestCase4") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.76 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.779e-05, allocations: 5.547 kB / 0.76 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1675/0.1675, allocations: 138.5 MB / 0.8953 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0191/0.1866, allocations: 19.74 MB / 0.9146 GB, free: 8.02 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001679/0.1883, allocations: 71.44 kB / 0.9146 GB, free: 7.949 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.1898, allocations: 1.157 MB / 0.9158 GB, free: 6.789 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.1911, allocations: 0.9373 MB / 0.9167 GB, free: 5.848 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008274/0.192, allocations: 370.8 kB / 0.917 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001183/0.1931, allocations: 1.305 MB / 0.9183 GB, free: 4.172 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006258/0.1938, allocations: 0.5764 MB / 0.9189 GB, free: 3.594 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008971/0.1947, allocations: 0.8497 MB / 0.9197 GB, free: 2.742 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006625/0.1953, allocations: 0.7466 MB / 0.9204 GB, free: 1.992 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 8.192e-05/0.1954, allocations: 72 kB / 0.9205 GB, free: 1.922 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.1956, allocations: 107.9 kB / 0.9206 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.1958, allocations: 332.7 kB / 0.9209 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.196, allocations: 291 kB / 0.9212 GB, free: 1.207 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.00072/0.1967, allocations: 0.7861 MB / 0.922 GB, free: 428 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1967, allocations: 0 / 0.922 GB, free: 428 kB / 0.8698 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1967, allocations: 0 / 0.922 GB, free: 428 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.1968, allocations: 0 / 0.922 GB, free: 428 kB / 0.8698 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.001465/0.1982, allocations: 1.409 MB / 0.9233 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.1983, allocations: 12.02 kB / 0.9233 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.1984, allocations: 112.8 kB / 0.9235 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005649/0.1989, allocations: 0.5648 MB / 0.924 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.484e-05/0.199, allocations: 92.41 kB / 0.9241 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.612e-05/0.1991, allocations: 51.98 kB / 0.9241 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/0.1995, allocations: 362.3 kB / 0.9245 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1995, allocations: 4 kB / 0.9245 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.1995, allocations: 20 kB / 0.9245 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.1995, allocations: 12 kB / 0.9245 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.1997, allocations: 125.7 kB / 0.9246 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.2011, allocations: 1.198 MB / 0.9258 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.2015, allocations: 255.7 kB / 0.9261 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.2016, allocations: 129.3 kB / 0.9262 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.2017, allocations: 8.266 kB / 0.9262 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.2019, allocations: 181.4 kB / 0.9264 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=45): time 2.084e-06/0.2019, allocations: 0 / 0.9264 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of matching and sorting (n=45): time 0.001025/0.2029, allocations: 0.5726 MB / 0.9269 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.2029, allocations: 63.34 kB / 0.927 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006846/0.2036, allocations: 1.096 MB / 0.9281 GB, free: 9.988 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.2037, allocations: 37.7 kB / 0.9281 GB, free: 9.945 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.2038, allocations: 329 kB / 0.9284 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.065e-05/0.2039, allocations: 154.8 kB / 0.9285 GB, free: 9.465 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.332e-05/0.204, allocations: 98.25 kB / 0.9286 GB, free: 9.363 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.791e-05/0.2041, allocations: 329.9 kB / 0.929 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.278e-05/0.2042, allocations: 52.12 kB / 0.929 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.2044, allocations: 165.9 kB / 0.9292 GB, free: 8.777 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.2047, allocations: 251.1 kB / 0.9294 GB, free: 8.492 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.2047, allocations: 4 kB / 0.9294 GB, free: 8.488 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0004545/0.2051, allocations: 419 kB / 0.9298 GB, free: 8.07 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2051, allocations: 9.406 kB / 0.9298 GB, free: 8.062 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2051, allocations: 7.984 kB / 0.9298 GB, free: 8.055 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002765/0.2054, allocations: 122 kB / 0.9299 GB, free: 7.934 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.2056, allocations: 95.81 kB / 0.93 GB, free: 7.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.207, allocations: 2.048 MB / 0.932 GB, free: 5.699 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.2072, allocations: 59.64 kB / 0.9321 GB, free: 5.641 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.2072, allocations: 16 kB / 0.9321 GB, free: 5.625 MB / 0.8855 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,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * 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.0001565/0.2074, allocations: 150.5 kB / 0.9322 GB, free: 5.469 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.2075, allocations: 79.95 kB / 0.9323 GB, free: 5.391 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004525/0.2079, allocations: 390.8 kB / 0.9327 GB, free: 4.992 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2079, allocations: 4 kB / 0.9327 GB, free: 4.988 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.2079, allocations: 8 kB / 0.9327 GB, free: 4.98 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.2079, allocations: 11.92 kB / 0.9327 GB, free: 4.969 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008497/0.2088, allocations: 0.8067 MB / 0.9335 GB, free: 4.133 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2088, allocations: 0 / 0.9335 GB, free: 4.133 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.2089, allocations: 43.91 kB / 0.9335 GB, free: 4.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002807/0.2092, allocations: 194.3 kB / 0.9337 GB, free: 3.895 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.2092, allocations: 8 kB / 0.9337 GB, free: 3.887 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/0.2111, allocations: 3.325 MB / 0.937 GB, free: 400 kB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2112, allocations: 0 / 0.937 GB, free: 400 kB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005221/0.2117, allocations: 0.5577 MB / 0.9375 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.2118, allocations: 119 kB / 0.9376 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.121e-05/0.2118, allocations: 12 kB / 0.9377 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.212, allocations: 23.97 kB / 0.9377 GB, free: 15.65 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-05/0.2121, allocations: 56.39 kB / 0.9377 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.2121, allocations: 12 kB / 0.9377 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003568/0.2124, allocations: 0.557 MB / 0.9383 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.2124, allocations: 0 / 0.9383 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004622/0.2129, allocations: 207.7 kB / 0.9385 GB, free: 14.82 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * 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.001299/0.2142, allocations: 0.5754 MB / 0.9391 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005356/0.2147, allocations: 442.7 kB / 0.9395 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/0.2147, allocations: 12 kB / 0.9395 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.2151, allocations: 449.6 kB / 0.9399 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.2156, allocations: 209.7 kB / 0.9401 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.2176, allocations: 1.859 MB / 0.9419 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.2178, allocations: 269.8 kB / 0.9422 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001564/0.218, allocations: 76.62 kB / 0.9423 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.2182, allocations: 173.1 kB / 0.9424 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of SimCode: time 6.92e-07/0.2182, allocations: 4 kB / 0.9424 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of Templates: time 0.01513/0.2333, allocations: 11.27 MB / 0.9534 GB, free: 15.91 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.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: 5.886670270003378]