Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005158/0.005158, allocations: 100.5 kB / 15.73 MB, free: 6.035 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.00124/0.00124, 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.171/1.171, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.334/1.334, allocations: 251.7 MB / 0.5094 GB, free: 3.008 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.001249/0.001249, allocations: 70.09 kB / 0.7258 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1747, allocations: 104.7 MB / 0.828 GB, free: 220 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.5113/0.686, allocations: 156.7 MB / 0.9811 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02164/0.7076, allocations: 21.57 MB / 1.002 GB, free: 2.488 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.7094, allocations: 56 kB / 1.002 GB, free: 2.465 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.7111, allocations: 1.163 MB / 1.003 GB, free: 1.852 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.00146/0.7125, allocations: 0.8493 MB / 1.004 GB, free: 1.328 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.7136, allocations: 405.1 kB / 1.005 GB, free: 1.008 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001399/0.715, allocations: 1.254 MB / 1.006 GB, free: 308 kB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008867/0.7159, allocations: 0.6808 MB / 1.006 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007578/0.7167, allocations: 0.5488 MB / 1.007 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009909/0.7177, allocations: 0.9174 MB / 1.008 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.7178, allocations: 65.09 kB / 1.008 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.7181, allocations: 110.6 kB / 1.008 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.7183, allocations: 315.3 kB / 1.008 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0003895/0.7187, allocations: 487.8 kB / 1.009 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0009844/0.7197, allocations: 1.201 MB / 1.01 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7197, allocations: 0 / 1.01 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7197, allocations: 0 / 1.01 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.7197, allocations: 0 / 1.01 GB, free: 13.78 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002037/0.7218, allocations: 1.467 MB / 1.011 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.7218, allocations: 11.36 kB / 1.011 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.722, allocations: 134.4 kB / 1.012 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007506/0.7227, allocations: 0.6674 MB / 1.012 GB, free: 12 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.7228, allocations: 72.47 kB / 1.012 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.557e-05/0.7229, allocations: 41.31 kB / 1.012 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007989/0.7237, allocations: 0.5192 MB / 1.013 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.7238, allocations: 0 / 1.013 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.428e-05/0.7238, allocations: 20.88 kB / 1.013 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.7238, allocations: 10.22 kB / 1.013 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007324/0.7246, allocations: 410.3 kB / 1.013 GB, free: 11.4 MB / 0.7637 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.002986/0.7276, allocations: 2.718 MB / 1.016 GB, free: 9.039 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008368/0.7284, allocations: 452.6 kB / 1.016 GB, free: 8.801 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000574/0.729, allocations: 308.8 kB / 1.017 GB, free: 8.648 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.729, allocations: 9.656 kB / 1.017 GB, free: 8.645 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004787/0.7295, allocations: 279 kB / 1.017 GB, free: 8.465 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=44): time 1.663e-06/0.7295, allocations: 0 / 1.017 GB, free: 8.465 MB / 0.7637 GB Notification: Performance of matching and sorting (n=44): time 0.002286/0.7318, allocations: 1.15 MB / 1.018 GB, free: 7.762 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.7319, allocations: 64.23 kB / 1.018 GB, free: 7.691 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.7333, allocations: 1.757 MB / 1.02 GB, free: 6.898 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.7334, allocations: 42.72 kB / 1.02 GB, free: 6.855 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.7337, allocations: 0.5221 MB / 1.02 GB, free: 6.398 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 9.904e-05/0.7338, allocations: 141.6 kB / 1.02 GB, free: 6.277 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.734, allocations: 98.53 kB / 1.021 GB, free: 6.215 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.7341, allocations: 327.1 kB / 1.021 GB, free: 5.895 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/0.7345, allocations: 215.6 kB / 1.021 GB, free: 5.793 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/0.735, allocations: 331.3 kB / 1.021 GB, free: 5.547 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007826/0.7358, allocations: 0.5251 MB / 1.022 GB, free: 5.191 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.7358, allocations: 6.781 kB / 1.022 GB, free: 5.188 MB / 0.7637 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001322/0.7371, allocations: 0.798 MB / 1.023 GB, free: 4.758 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.7371, allocations: 11.94 kB / 1.023 GB, free: 4.746 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.7371, allocations: 4.219 kB / 1.023 GB, free: 4.742 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003685/0.7375, allocations: 141.5 kB / 1.023 GB, free: 4.602 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.7379, allocations: 103.8 kB / 1.023 GB, free: 4.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/0.7403, allocations: 2.603 MB / 1.025 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003591/0.7407, allocations: 71.48 kB / 1.026 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/0.7407, allocations: 20 kB / 1.026 GB, free: 1.672 MB / 0.7637 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.000383/0.7411, allocations: 391.4 kB / 1.026 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.7412, allocations: 118.5 kB / 1.026 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/0.7414, allocations: 143.6 kB / 1.026 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.7414, allocations: 4 kB / 1.026 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.7415, allocations: 4 kB / 1.026 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.7415, allocations: 3.984 kB / 1.026 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/0.7435, allocations: 1.487 MB / 1.028 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.7435, allocations: 3.938 kB / 1.028 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.7437, allocations: 43.97 kB / 1.028 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003396/0.7441, allocations: 172 kB / 1.028 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.7441, allocations: 11.98 kB / 1.028 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003138/0.7473, allocations: 4.014 MB / 1.032 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.7473, allocations: 0 / 1.032 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.7488, allocations: 0.9925 MB / 1.033 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002273/0.749, allocations: 215.5 kB / 1.033 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.422e-05/0.7491, allocations: 12 kB / 1.033 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.7494, allocations: 27.97 kB / 1.033 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.7495, allocations: 52.05 kB / 1.033 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.7495, allocations: 19.98 kB / 1.033 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001117/0.7507, allocations: 1.288 MB / 1.034 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7507, allocations: 0 / 1.034 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005689/0.7512, allocations: 199.7 kB / 1.035 GB, free: 8.102 MB / 0.7794 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.0009621/0.7522, allocations: 487.5 kB / 1.035 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001161/0.7534, allocations: 0.6548 MB / 1.036 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7534, allocations: 0 / 1.036 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007017/0.7541, allocations: 0.5252 MB / 1.036 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008532/0.755, allocations: 198.5 kB / 1.036 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002844/0.7578, allocations: 2.372 MB / 1.039 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006442/0.7585, allocations: 1.15 MB / 1.04 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000218/0.7587, allocations: 92.77 kB / 1.04 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.888e-05/0.7588, allocations: 43.44 kB / 1.04 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7588, allocations: 0 / 1.04 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.01586/0.7747, allocations: 10.16 MB / 1.05 GB, free: 8.648 MB / 0.795 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)