Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00526/0.00526, allocations: 102.3 kB / 15.73 MB, free: 6.062 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.001143/0.001143, allocations: 192.3 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.207/1.207, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.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.235/1.235, allocations: 251.7 MB / 0.5094 GB, free: 404 kB / 430.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.001375/0.001375, allocations: 80.09 kB / 0.7258 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5257/0.5271, allocations: 104.7 MB / 0.828 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1522/0.6793, allocations: 156.7 MB / 0.9811 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02254/0.7019, allocations: 21.57 MB / 1.002 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.7036, allocations: 51.75 kB / 1.002 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.705, allocations: 1.157 MB / 1.003 GB, free: 14.38 MB / 0.8106 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.001166/0.7062, allocations: 0.8562 MB / 1.004 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009497/0.7072, allocations: 406.9 kB / 1.005 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001191/0.7084, allocations: 1.251 MB / 1.006 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006375/0.709, allocations: 0.6789 MB / 1.006 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005352/0.7096, allocations: 0.5529 MB / 1.007 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008956/0.7105, allocations: 0.9138 MB / 1.008 GB, free: 9.727 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.604e-05/0.7106, allocations: 64 kB / 1.008 GB, free: 9.664 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.7108, allocations: 104 kB / 1.008 GB, free: 9.562 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002349/0.7111, allocations: 328.6 kB / 1.008 GB, free: 9.238 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003465/0.7114, allocations: 488.8 kB / 1.009 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.7125, allocations: 1.207 MB / 1.01 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.7125, allocations: 0 / 1.01 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7125, allocations: 0 / 1.01 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.7125, allocations: 0 / 1.01 GB, free: 7.551 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001874/0.7144, allocations: 1.509 MB / 1.011 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.7144, allocations: 11.97 kB / 1.011 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.7146, allocations: 148 kB / 1.012 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007302/0.7153, allocations: 0.6716 MB / 1.012 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.7154, allocations: 70.69 kB / 1.012 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.441e-05/0.7155, allocations: 51.98 kB / 1.012 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008227/0.7164, allocations: 0.5184 MB / 1.013 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.7164, allocations: 0 / 1.013 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.173e-05/0.7164, allocations: 20 kB / 1.013 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.7164, allocations: 12 kB / 1.013 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000729/0.7172, allocations: 403.7 kB / 1.013 GB, free: 4.023 MB / 0.8106 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002997/0.7202, allocations: 2.724 MB / 1.016 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008628/0.7211, allocations: 443.1 kB / 1.016 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005735/0.7216, allocations: 315.8 kB / 1.017 GB, free: 324 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.7217, allocations: 4 kB / 1.017 GB, free: 320 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000482/0.7222, allocations: 287.4 kB / 1.017 GB, free: 20 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 1.824e-06/0.7222, allocations: 0 / 1.017 GB, free: 20 kB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.0024/0.7246, allocations: 1.148 MB / 1.018 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.7246, allocations: 55.41 kB / 1.018 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.7262, allocations: 1.764 MB / 1.02 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.7263, allocations: 37.7 kB / 1.02 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003775/0.7266, allocations: 0.5214 MB / 1.02 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.7268, allocations: 150.8 kB / 1.021 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.7269, allocations: 106.2 kB / 1.021 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.727, allocations: 326 kB / 1.021 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004207/0.7274, allocations: 217 kB / 1.021 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005533/0.728, allocations: 343.1 kB / 1.021 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008476/0.7289, allocations: 0.5213 MB / 1.022 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.7289, allocations: 8 kB / 1.022 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00135/0.7302, allocations: 0.8056 MB / 1.023 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.7303, allocations: 11.94 kB / 1.023 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.7303, allocations: 8.219 kB / 1.023 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003718/0.7306, allocations: 132.7 kB / 1.023 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.731, allocations: 107.8 kB / 1.023 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/0.7335, allocations: 2.598 MB / 1.026 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.7339, allocations: 71.62 kB / 1.026 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.7339, allocations: 32.05 kB / 1.026 GB, free: 6.754 MB / 0.8262 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,mean.y,$PRE.mean.y,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 (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.0003956/0.7343, allocations: 387.2 kB / 1.026 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.7345, allocations: 127.2 kB / 1.026 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/0.7347, allocations: 143.6 kB / 1.026 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.7347, allocations: 7.984 kB / 1.026 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.7347, allocations: 7.938 kB / 1.026 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.7347, allocations: 0 / 1.026 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.7367, allocations: 1.487 MB / 1.028 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.7367, allocations: 0 / 1.028 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.7369, allocations: 43.95 kB / 1.028 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003511/0.7373, allocations: 165.6 kB / 1.028 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.7373, allocations: 11.98 kB / 1.028 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003227/0.7405, allocations: 4.025 MB / 1.032 GB, free: 20 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.7405, allocations: 0 / 1.032 GB, free: 20 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.7421, allocations: 0.9934 MB / 1.033 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.7423, allocations: 224.2 kB / 1.033 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-05/0.7424, allocations: 12 kB / 1.033 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.7427, allocations: 27.97 kB / 1.033 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.7428, allocations: 59.86 kB / 1.033 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.7428, allocations: 19.94 kB / 1.033 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001164/0.744, allocations: 1.288 MB / 1.034 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.744, allocations: 0 / 1.034 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006258/0.7446, allocations: 199.8 kB / 1.035 GB, free: 13.16 MB / 0.8419 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) * 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 (28): * Single equations (assignments): 20 * 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.0009604/0.7456, allocations: 472.7 kB / 1.035 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0012/0.7468, allocations: 0.6664 MB / 1.036 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7468, allocations: 0 / 1.036 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007176/0.7476, allocations: 0.5291 MB / 1.036 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008636/0.7484, allocations: 193.4 kB / 1.036 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003065/0.7515, allocations: 2.397 MB / 1.039 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006751/0.7522, allocations: 1.153 MB / 1.04 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000256/0.7525, allocations: 100.7 kB / 1.04 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.7526, allocations: 43.42 kB / 1.04 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of SimCode: time 4.31e-07/0.7526, allocations: 0 / 1.04 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of Templates: time 0.01633/0.7689, allocations: 10.16 MB / 1.05 GB, free: 13.67 MB / 0.8575 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)