Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 103.4 kB / 16.27 MB, free: 5.98 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.001347/0.001347, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.622/1.622, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.8/1.8, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001447/0.001447, allocations: 75.02 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.251, allocations: 114.6 MB / 0.784 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.5995/0.8506, allocations: 156.7 MB / 0.9371 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02733/0.878, allocations: 21.56 MB / 0.9581 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002583/0.8806, allocations: 47.75 kB / 0.9582 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001978/0.8827, allocations: 1.163 MB / 0.9593 GB, free: 6.969 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.0025/0.8852, allocations: 0.8524 MB / 0.9601 GB, free: 6.113 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.887, allocations: 410 kB / 0.9605 GB, free: 5.715 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002421/0.8894, allocations: 1.24 MB / 0.9617 GB, free: 4.473 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.8908, allocations: 0.6819 MB / 0.9624 GB, free: 3.824 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.8919, allocations: 0.5529 MB / 0.9629 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001164/0.893, allocations: 0.9061 MB / 0.9638 GB, free: 2.363 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.8932, allocations: 64 kB / 0.9639 GB, free: 2.301 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002689/0.8935, allocations: 115.9 kB / 0.964 GB, free: 2.188 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002902/0.8938, allocations: 312.8 kB / 0.9643 GB, free: 1.879 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004898/0.8942, allocations: 496.8 kB / 0.9648 GB, free: 1.391 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.8955, allocations: 1.183 MB / 0.9659 GB, free: 208 kB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8955, allocations: 0 / 0.9659 GB, free: 208 kB / 0.7481 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8955, allocations: 0 / 0.9659 GB, free: 208 kB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.542e-05/0.8955, allocations: 0 / 0.9659 GB, free: 208 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.00228/0.8978, allocations: 1.466 MB / 0.9674 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.8979, allocations: 8.031 kB / 0.9674 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.8981, allocations: 135.3 kB / 0.9675 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008304/0.8989, allocations: 0.6608 MB / 0.9681 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.899, allocations: 70.69 kB / 0.9682 GB, free: 13.76 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-05/0.8991, allocations: 51.94 kB / 0.9683 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009258/0.9001, allocations: 0.5184 MB / 0.9688 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.9001, allocations: 0 / 0.9688 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.647e-05/0.9002, allocations: 16 kB / 0.9688 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.9002, allocations: 12 kB / 0.9688 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000815/0.901, allocations: 411.7 kB / 0.9692 GB, free: 12.74 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.003566/0.9046, allocations: 2.8 MB / 0.9719 GB, free: 9.703 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.9056, allocations: 465.3 kB / 0.9724 GB, free: 9.242 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005395/0.9062, allocations: 285.4 kB / 0.9726 GB, free: 8.961 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/0.9062, allocations: 4 kB / 0.9726 GB, free: 8.957 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005627/0.9068, allocations: 297.9 kB / 0.9729 GB, free: 8.656 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=45): time 2.755e-06/0.9068, allocations: 0 / 0.9729 GB, free: 8.656 MB / 0.7637 GB Notification: Performance of matching and sorting (n=45): time 0.002929/0.9097, allocations: 1.25 MB / 0.9741 GB, free: 7.355 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.9098, allocations: 59.41 kB / 0.9742 GB, free: 7.285 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/0.9116, allocations: 1.748 MB / 0.9759 GB, free: 5.527 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.565e-05/0.9117, allocations: 37.7 kB / 0.9759 GB, free: 5.484 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004163/0.9121, allocations: 0.5133 MB / 0.9764 GB, free: 4.965 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.9122, allocations: 145.9 kB / 0.9766 GB, free: 4.82 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.9124, allocations: 94.25 kB / 0.9767 GB, free: 4.719 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.9125, allocations: 331.1 kB / 0.977 GB, free: 4.391 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004734/0.913, allocations: 225 kB / 0.9772 GB, free: 4.172 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005312/0.9135, allocations: 332.8 kB / 0.9775 GB, free: 3.809 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000892/0.9144, allocations: 0.5052 MB / 0.978 GB, free: 3.266 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.9144, allocations: 4.438 kB / 0.978 GB, free: 3.262 MB / 0.7637 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001657/0.9161, allocations: 0.8434 MB / 0.9788 GB, free: 2.41 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.9161, allocations: 8 kB / 0.9789 GB, free: 2.402 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.9162, allocations: 8.125 kB / 0.9789 GB, free: 2.395 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005282/0.9167, allocations: 189.5 kB / 0.979 GB, free: 2.207 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.917, allocations: 95.81 kB / 0.9791 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003464/0.9205, allocations: 2.999 MB / 0.9821 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004632/0.921, allocations: 79.3 kB / 0.9821 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.619e-05/0.921, allocations: 20 kB / 0.9822 GB, free: 14.89 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.0005383/0.9216, allocations: 379.4 kB / 0.9825 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.9217, allocations: 118.4 kB / 0.9826 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.9219, allocations: 139.6 kB / 0.9828 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.922, allocations: 8 kB / 0.9828 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/0.922, allocations: 4 kB / 0.9828 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.922, allocations: 3.984 kB / 0.9828 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.9244, allocations: 1.562 MB / 0.9843 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.9244, allocations: 0 / 0.9843 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.9247, allocations: 51.89 kB / 0.9844 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004712/0.9251, allocations: 194.7 kB / 0.9845 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/0.9252, allocations: 11.98 kB / 0.9846 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00432/0.9295, allocations: 4.557 MB / 0.989 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.9295, allocations: 5.391 kB / 0.989 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.9314, allocations: 1.064 MB / 0.99 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/0.9317, allocations: 215.6 kB / 0.9903 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.855e-05/0.9318, allocations: 8 kB / 0.9903 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.9321, allocations: 27.97 kB / 0.9903 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.9323, allocations: 51.92 kB / 0.9903 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.9323, allocations: 19.98 kB / 0.9904 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001353/0.9337, allocations: 1.273 MB / 0.9916 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9337, allocations: 4 kB / 0.9916 GB, free: 4.824 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008048/0.9345, allocations: 207.7 kB / 0.9918 GB, free: 4.621 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.001139/0.9356, allocations: 478.5 kB / 0.9923 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001665/0.9373, allocations: 0.754 MB / 0.993 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.9373, allocations: 0 / 0.993 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008833/0.9382, allocations: 0.5451 MB / 0.9935 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.9392, allocations: 216.9 kB / 0.9937 GB, free: 2.875 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003903/0.9432, allocations: 2.439 MB / 0.9961 GB, free: 412 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008423/0.944, allocations: 1.142 MB / 0.9972 GB, free: 15.23 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.9441, allocations: 43.42 kB / 0.9973 GB, free: 15.19 MB / 0.795 GB Notification: Performance of SimCode: time 9.02e-07/0.9442, allocations: 4 kB / 0.9973 GB, free: 15.18 MB / 0.795 GB Notification: Performance of Templates: time 0.02666/0.9708, allocations: 17.77 MB / 1.015 GB, free: 13.5 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)