Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002393/0.002393, allocations: 105.1 kB / 16.37 MB, free: 6.449 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.002855/0.002855, allocations: 189.6 kB / 17.31 MB, free: 5.816 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.682/1.682, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.806/1.806, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.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.001513/0.001513, allocations: 67.91 kB / 0.6729 GB, free: 5.781 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2878, allocations: 114.6 MB / 0.7848 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.6764/0.9642, allocations: 156.7 MB / 0.9378 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03031/0.9946, allocations: 21.56 MB / 0.9589 GB, free: 7.711 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002821/0.9974, allocations: 51.69 kB / 0.9589 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002087/0.9996, allocations: 1.165 MB / 0.9601 GB, free: 6.492 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.002187/1.002, allocations: 0.8562 MB / 0.9609 GB, free: 5.633 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001599/1.003, allocations: 397 kB / 0.9613 GB, free: 5.246 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002131/1.006, allocations: 1.25 MB / 0.9625 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/1.007, allocations: 0.6785 MB / 0.9632 GB, free: 3.348 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001269/1.008, allocations: 0.5529 MB / 0.9637 GB, free: 2.793 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/1.01, allocations: 0.9138 MB / 0.9646 GB, free: 1.879 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000226/1.01, allocations: 69.41 kB / 0.9647 GB, free: 1.812 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004464/1.011, allocations: 108 kB / 0.9648 GB, free: 1.707 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004019/1.011, allocations: 320.7 kB / 0.9651 GB, free: 1.391 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007318/1.012, allocations: 488.8 kB / 0.9655 GB, free: 0.9102 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001654/1.013, allocations: 1.191 MB / 0.9667 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/1.013, allocations: 4 kB / 0.9667 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.083e-06/1.013, allocations: 4 kB / 0.9667 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.082e-05/1.013, allocations: 0 / 0.9667 GB, free: 15.71 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.003291/1.017, allocations: 1.477 MB / 0.9682 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/1.017, allocations: 8.031 kB / 0.9682 GB, free: 14.17 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003057/1.017, allocations: 131.3 kB / 0.9683 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/1.018, allocations: 0.6667 MB / 0.9689 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/1.018, allocations: 70.69 kB / 0.969 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.667e-05/1.019, allocations: 44 kB / 0.9691 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/1.02, allocations: 0.5164 MB / 0.9696 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/1.02, allocations: 4 kB / 0.9696 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.84e-05/1.02, allocations: 16 kB / 0.9696 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/1.02, allocations: 8 kB / 0.9696 GB, free: 12.65 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000912/1.021, allocations: 419.7 kB / 0.97 GB, free: 12.24 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.004392/1.025, allocations: 2.789 MB / 0.9727 GB, free: 9.207 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/1.026, allocations: 462 kB / 0.9732 GB, free: 8.75 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005828/1.027, allocations: 285.4 kB / 0.9734 GB, free: 8.469 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.091e-05/1.027, allocations: 4 kB / 0.9734 GB, free: 8.465 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000628/1.027, allocations: 297.9 kB / 0.9737 GB, free: 8.164 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=45): time 2.886e-06/1.028, allocations: 0 / 0.9737 GB, free: 8.164 MB / 0.7637 GB Notification: Performance of matching and sorting (n=45): time 0.003149/1.031, allocations: 1.25 MB / 0.9749 GB, free: 6.863 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/1.031, allocations: 55.41 kB / 0.975 GB, free: 6.797 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/1.033, allocations: 1.748 MB / 0.9767 GB, free: 5.039 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.234e-05/1.033, allocations: 33.7 kB / 0.9767 GB, free: 5 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005146/1.034, allocations: 0.5211 MB / 0.9772 GB, free: 4.473 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/1.034, allocations: 149.9 kB / 0.9774 GB, free: 4.324 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/1.034, allocations: 94.25 kB / 0.9775 GB, free: 4.223 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.034, allocations: 326 kB / 0.9778 GB, free: 3.898 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005144/1.035, allocations: 217 kB / 0.978 GB, free: 3.688 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006079/1.035, allocations: 330 kB / 0.9783 GB, free: 3.328 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009818/1.036, allocations: 0.513 MB / 0.9788 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/1.036, allocations: 0 / 0.9788 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001851/1.038, allocations: 0.8535 MB / 0.9796 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/1.038, allocations: 4 kB / 0.9796 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/1.038, allocations: 4 kB / 0.9796 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006064/1.039, allocations: 184.9 kB / 0.9798 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003935/1.039, allocations: 95.81 kB / 0.9799 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004339/1.044, allocations: 3 MB / 0.9828 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006086/1.044, allocations: 71.55 kB / 0.9829 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.623e-05/1.044, allocations: 24 kB / 0.9829 GB, free: 14.4 MB / 0.7794 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,$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 (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.0007717/1.045, allocations: 380.4 kB / 0.9833 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/1.045, allocations: 118.4 kB / 0.9834 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003678/1.046, allocations: 139.6 kB / 0.9835 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/1.046, allocations: 8 kB / 0.9835 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.322e-05/1.046, allocations: 3.938 kB / 0.9835 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/1.046, allocations: 3.984 kB / 0.9836 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00318/1.049, allocations: 1.563 MB / 0.9851 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.049, allocations: 0 / 0.9851 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/1.049, allocations: 51.89 kB / 0.9851 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005223/1.05, allocations: 189.6 kB / 0.9853 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.665e-05/1.05, allocations: 15.98 kB / 0.9853 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005183/1.055, allocations: 4.559 MB / 0.9898 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.055, allocations: 4.062 kB / 0.9898 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/1.057, allocations: 1.059 MB / 0.9908 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004658/1.058, allocations: 215.6 kB / 0.991 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/1.058, allocations: 12 kB / 0.991 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/1.058, allocations: 27.97 kB / 0.9911 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/1.059, allocations: 51.92 kB / 0.9911 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.354e-05/1.059, allocations: 19.98 kB / 0.9911 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001958/1.061, allocations: 1.277 MB / 0.9924 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/1.061, allocations: 0 / 0.9924 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001019/1.062, allocations: 199.7 kB / 0.9926 GB, free: 4.145 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,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.001484/1.063, allocations: 479 kB / 0.993 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001961/1.065, allocations: 0.7241 MB / 0.9937 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.065, allocations: 0 / 0.9937 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/1.066, allocations: 0.5453 MB / 0.9943 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/1.067, allocations: 211.8 kB / 0.9945 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005286/1.073, allocations: 2.426 MB / 0.9968 GB, free: 15.97 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/1.074, allocations: 1.142 MB / 0.9979 GB, free: 14.8 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/1.074, allocations: 47.42 kB / 0.998 GB, free: 14.75 MB / 0.795 GB Notification: Performance of SimCode: time 1.733e-06/1.074, allocations: 0 / 0.998 GB, free: 14.75 MB / 0.795 GB Notification: Performance of Templates: time 0.02978/1.104, allocations: 17.78 MB / 1.015 GB, free: 13.05 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)