Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005438/0.005438, allocations: 101.1 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 190.2 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.24/1.24, allocations: 205.1 MB / 222.5 MB, free: 4.395 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.368/1.368, allocations: 251.7 MB / 0.5094 GB, free: 2.992 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 67.91 kB / 0.7258 GB, free: 8.996 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.181, allocations: 104.7 MB / 0.828 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.5165/0.6976, allocations: 157.2 MB / 0.9816 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02353/0.7211, allocations: 21.81 MB / 1.003 GB, free: 1.859 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002144/0.7233, allocations: 52.91 kB / 1.003 GB, free: 1.84 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002349/0.7257, allocations: 2.16 MB / 1.005 GB, free: 0.7656 MB / 0.7481 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002169/0.7279, allocations: 1.431 MB / 1.006 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.7293, allocations: 0.5335 MB / 1.007 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002232/0.7315, allocations: 1.82 MB / 1.009 GB, free: 14.53 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/0.7331, allocations: 1.081 MB / 1.01 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.7346, allocations: 0.8789 MB / 1.011 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/0.7363, allocations: 1.534 MB / 1.012 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002555/0.7366, allocations: 92.78 kB / 1.012 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004429/0.737, allocations: 139.5 kB / 1.012 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0004759/0.7375, allocations: 0.533 MB / 1.013 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0009322/0.7385, allocations: 0.7647 MB / 1.014 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.7402, allocations: 1.851 MB / 1.015 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.7403, allocations: 2.531 kB / 1.015 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7403, allocations: 0 / 1.015 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001089/0.7404, allocations: 0 / 1.015 GB, free: 10.54 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.003902/0.7443, allocations: 2.277 MB / 1.018 GB, free: 8.797 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.7443, allocations: 13.36 kB / 1.018 GB, free: 8.793 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003417/0.7447, allocations: 226.8 kB / 1.018 GB, free: 8.676 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.7461, allocations: 1.012 MB / 1.019 GB, free: 7.859 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.7462, allocations: 83.38 kB / 1.019 GB, free: 7.805 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.7463, allocations: 63.03 kB / 1.019 GB, free: 7.785 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.7475, allocations: 0.7249 MB / 1.02 GB, free: 7.352 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.7476, allocations: 6.938 kB / 1.02 GB, free: 7.348 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.817e-05/0.7476, allocations: 28.83 kB / 1.02 GB, free: 7.324 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.7476, allocations: 15.25 kB / 1.02 GB, free: 7.324 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.7487, allocations: 0.5879 MB / 1.02 GB, free: 7.039 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004726/0.7534, allocations: 3.507 MB / 1.024 GB, free: 3.754 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.7548, allocations: 0.706 MB / 1.024 GB, free: 3.039 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006802/0.7555, allocations: 414.3 kB / 1.025 GB, free: 2.633 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.209e-05/0.7556, allocations: 4.562 kB / 1.025 GB, free: 2.629 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007205/0.7563, allocations: 438.8 kB / 1.025 GB, free: 2.188 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=70): time 3.256e-06/0.7563, allocations: 4 kB / 1.025 GB, free: 2.184 MB / 0.7637 GB Notification: Performance of matching and sorting (n=70): time 0.003761/0.7601, allocations: 1.8 MB / 1.027 GB, free: 340 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.7601, allocations: 55.97 kB / 1.027 GB, free: 272 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003218/0.7634, allocations: 3.304 MB / 1.03 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/0.7634, allocations: 45.7 kB / 1.03 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006506/0.7641, allocations: 0.8821 MB / 1.031 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.7643, allocations: 228.8 kB / 1.031 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.7645, allocations: 134.7 kB / 1.032 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.7646, allocations: 334 kB / 1.032 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005745/0.7652, allocations: 301.8 kB / 1.032 GB, free: 11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006346/0.7658, allocations: 438.3 kB / 1.033 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.767, allocations: 0.72 MB / 1.033 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.767, allocations: 4 kB / 1.033 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002052/0.7691, allocations: 1.204 MB / 1.034 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.7691, allocations: 10.97 kB / 1.034 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.7691, allocations: 7.938 kB / 1.035 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006545/0.7698, allocations: 260.2 kB / 1.035 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004479/0.7702, allocations: 131.8 kB / 1.035 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004564/0.7748, allocations: 4.757 MB / 1.04 GB, free: 3.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005558/0.7754, allocations: 91.33 kB / 1.04 GB, free: 3.031 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/0.7755, allocations: 24 kB / 1.04 GB, free: 3.008 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y,$PRE.mean.y,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007645/0.7762, allocations: 0.6145 MB / 1.04 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/0.7765, allocations: 201.4 kB / 1.04 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000379/0.7769, allocations: 256.4 kB / 1.041 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.7769, allocations: 8 kB / 1.041 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.7769, allocations: 4 kB / 1.041 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.7769, allocations: 3.984 kB / 1.041 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003516/0.7804, allocations: 2.331 MB / 1.043 GB, free: 15.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.7804, allocations: 0 / 1.043 GB, free: 15.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.7807, allocations: 71.89 kB / 1.043 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005639/0.7813, allocations: 245.5 kB / 1.043 GB, free: 15.19 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.036e-05/0.7814, allocations: 19.98 kB / 1.043 GB, free: 15.17 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004463/0.7858, allocations: 4.762 MB / 1.048 GB, free: 10.13 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7858, allocations: 0 / 1.048 GB, free: 10.13 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.7884, allocations: 1.576 MB / 1.049 GB, free: 8.531 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004498/0.7888, allocations: 314.4 kB / 1.05 GB, free: 8.203 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.789, allocations: 15.98 kB / 1.05 GB, free: 8.188 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/0.7894, allocations: 39.91 kB / 1.05 GB, free: 8.148 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.7896, allocations: 72.45 kB / 1.05 GB, free: 8.078 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/0.7897, allocations: 27.98 kB / 1.05 GB, free: 8.051 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00254/0.7922, allocations: 2.419 MB / 1.052 GB, free: 5.617 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7922, allocations: 4 kB / 1.052 GB, free: 5.613 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008573/0.7931, allocations: 292.2 kB / 1.053 GB, free: 5.328 MB / 0.795 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.001055/0.7941, allocations: 0.4931 MB / 1.053 GB, free: 5.012 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001832/0.796, allocations: 1.05 MB / 1.054 GB, free: 3.938 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.796, allocations: 0 / 1.054 GB, free: 3.938 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0009874/0.797, allocations: 0.6904 MB / 1.055 GB, free: 3.223 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.7981, allocations: 283.9 kB / 1.055 GB, free: 2.949 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005143/0.8033, allocations: 3.978 MB / 1.059 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/0.8045, allocations: 1.532 MB / 1.06 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003773/0.8049, allocations: 150.4 kB / 1.061 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.8051, allocations: 63.42 kB / 1.061 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of SimCode: time 4.21e-07/0.8051, allocations: 0 / 1.061 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of Templates: time 0.02525/0.8303, allocations: 14.57 MB / 1.075 GB, free: 14.75 MB / 0.8262 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)