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.00118/0.00118, allocations: 101.5 kB / 16.27 MB, free: 6.418 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.001164/0.001165, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.586/1.586, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.895/1.895, allocations: 292.3 MB / 0.5495 GB, free: 17.43 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.001958/0.001958, allocations: 71.89 kB / 0.6722 GB, free: 6.582 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2872, allocations: 114.6 MB / 0.784 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.6806/0.9679, allocations: 156.7 MB / 0.9371 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02813/0.996, allocations: 21.57 MB / 0.9581 GB, free: 8.262 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002522/0.9986, allocations: 47.75 kB / 0.9582 GB, free: 8.215 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001735/1, allocations: 1.161 MB / 0.9593 GB, free: 7.051 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.001739/1.002, allocations: 0.8537 MB / 0.9601 GB, free: 6.195 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001259/1.003, allocations: 407.9 kB / 0.9605 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001667/1.005, allocations: 1.244 MB / 0.9617 GB, free: 4.551 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009732/1.006, allocations: 0.6788 MB / 0.9624 GB, free: 3.902 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007372/1.007, allocations: 0.5452 MB / 0.9629 GB, free: 3.355 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/1.008, allocations: 0.9099 MB / 0.9638 GB, free: 2.445 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001251/1.008, allocations: 64 kB / 0.9639 GB, free: 2.383 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002882/1.008, allocations: 116 kB / 0.964 GB, free: 2.27 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002872/1.009, allocations: 312.7 kB / 0.9643 GB, free: 1.961 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004778/1.009, allocations: 492.8 kB / 0.9648 GB, free: 1.477 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001257/1.01, allocations: 1.183 MB / 0.9659 GB, free: 296 kB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.01, allocations: 3.938 kB / 0.9659 GB, free: 292 kB / 0.7481 GB Notification: Performance of FrontEnd: time 2.264e-06/1.01, allocations: 0 / 0.9659 GB, free: 292 kB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.374e-05/1.01, allocations: 0 / 0.9659 GB, free: 292 kB / 0.7481 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.002401/1.013, allocations: 1.471 MB / 0.9674 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/1.013, allocations: 8.031 kB / 0.9674 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/1.013, allocations: 133.2 kB / 0.9675 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008482/1.014, allocations: 0.6628 MB / 0.9681 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/1.014, allocations: 66.69 kB / 0.9682 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.773e-05/1.014, allocations: 48 kB / 0.9683 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009611/1.015, allocations: 0.5184 MB / 0.9688 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/1.015, allocations: 4 kB / 0.9688 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.912e-05/1.015, allocations: 16 kB / 0.9688 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/1.015, allocations: 12 kB / 0.9688 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008156/1.016, allocations: 415.7 kB / 0.9692 GB, free: 12.82 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.003744/1.02, allocations: 2.802 MB / 0.9719 GB, free: 9.777 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/1.021, allocations: 457.3 kB / 0.9724 GB, free: 9.324 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005557/1.022, allocations: 289.3 kB / 0.9726 GB, free: 9.039 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/1.022, allocations: 4 kB / 0.9726 GB, free: 9.035 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005802/1.022, allocations: 303.5 kB / 0.9729 GB, free: 8.73 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=45): time 3.236e-06/1.022, allocations: 1.406 kB / 0.9729 GB, free: 8.73 MB / 0.7637 GB Notification: Performance of matching and sorting (n=45): time 0.003021/1.025, allocations: 1.246 MB / 0.9742 GB, free: 7.434 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/1.025, allocations: 59.41 kB / 0.9742 GB, free: 7.363 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/1.027, allocations: 1.744 MB / 0.9759 GB, free: 5.609 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/1.027, allocations: 41.7 kB / 0.976 GB, free: 5.562 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004503/1.028, allocations: 0.5172 MB / 0.9765 GB, free: 5.039 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/1.028, allocations: 145.9 kB / 0.9766 GB, free: 4.895 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/1.028, allocations: 94.25 kB / 0.9767 GB, free: 4.793 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.028, allocations: 334 kB / 0.977 GB, free: 4.461 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004639/1.029, allocations: 217 kB / 0.9772 GB, free: 4.25 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005469/1.029, allocations: 332.8 kB / 0.9775 GB, free: 3.887 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008933/1.03, allocations: 0.5052 MB / 0.978 GB, free: 3.344 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/1.03, allocations: 4 kB / 0.978 GB, free: 3.34 MB / 0.7637 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001676/1.032, allocations: 0.8481 MB / 0.9789 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/1.032, allocations: 8 kB / 0.9789 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.032, allocations: 5.969 kB / 0.9789 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005451/1.032, allocations: 190.4 kB / 0.979 GB, free: 2.285 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/1.033, allocations: 95.75 kB / 0.9791 GB, free: 2.191 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003703/1.036, allocations: 3 MB / 0.9821 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005047/1.037, allocations: 75.55 kB / 0.9821 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/1.037, allocations: 16 kB / 0.9822 GB, free: 14.97 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.0005931/1.038, allocations: 383.3 kB / 0.9825 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/1.038, allocations: 122.4 kB / 0.9826 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/1.038, allocations: 135.6 kB / 0.9828 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/1.038, allocations: 4 kB / 0.9828 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.592e-05/1.038, allocations: 8 kB / 0.9828 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/1.038, allocations: 3.984 kB / 0.9828 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002511/1.041, allocations: 1.558 MB / 0.9843 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.041, allocations: 0 / 0.9843 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/1.041, allocations: 55.89 kB / 0.9844 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000499/1.041, allocations: 194.7 kB / 0.9845 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/1.041, allocations: 11.98 kB / 0.9846 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004636/1.046, allocations: 4.557 MB / 0.989 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.046, allocations: 0 / 0.989 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/1.048, allocations: 1.061 MB / 0.99 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002983/1.048, allocations: 223.7 kB / 0.9903 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-05/1.048, allocations: 12 kB / 0.9903 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/1.049, allocations: 23.97 kB / 0.9903 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/1.049, allocations: 51.92 kB / 0.9903 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/1.049, allocations: 19.98 kB / 0.9904 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001513/1.051, allocations: 1.275 MB / 0.9916 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.41e-07/1.051, allocations: 0 / 0.9916 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008341/1.051, allocations: 211.7 kB / 0.9918 GB, free: 4.699 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.00122/1.053, allocations: 478.1 kB / 0.9923 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001747/1.054, allocations: 0.7501 MB / 0.993 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/1.054, allocations: 0 / 0.993 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008713/1.055, allocations: 0.5567 MB / 0.9935 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/1.056, allocations: 204.4 kB / 0.9937 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003932/1.06, allocations: 2.437 MB / 0.9961 GB, free: 492 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008105/1.061, allocations: 1.146 MB / 0.9972 GB, free: 15.3 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/1.061, allocations: 47.42 kB / 0.9973 GB, free: 15.26 MB / 0.795 GB Notification: Performance of SimCode: time 7.92e-07/1.061, allocations: 0 / 0.9973 GB, free: 15.26 MB / 0.795 GB Notification: Performance of Templates: time 0.0262/1.087, allocations: 17.77 MB / 1.015 GB, free: 13.56 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)