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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 196 kB / 16.53 MB, free: 6.664 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.486/1.486, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.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.703/1.703, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001404/0.001404, allocations: 80.56 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2126, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.5272/0.7398, allocations: 156.7 MB / 0.9365 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02213/0.762, allocations: 21.56 MB / 0.9576 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/0.764, allocations: 50.09 kB / 0.9576 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.7654, allocations: 1.164 MB / 0.9588 GB, free: 4.508 MB / 0.7169 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.001378/0.7668, allocations: 0.8571 MB / 0.9596 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009947/0.7678, allocations: 402.8 kB / 0.96 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00126/0.7691, allocations: 1.241 MB / 0.9612 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007443/0.7698, allocations: 0.6925 MB / 0.9619 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006677/0.7705, allocations: 0.5442 MB / 0.9624 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009539/0.7715, allocations: 0.9137 MB / 0.9633 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.7716, allocations: 64.91 kB / 0.9633 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002683/0.7719, allocations: 110 kB / 0.9635 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.7721, allocations: 321.9 kB / 0.9638 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003588/0.7725, allocations: 485.8 kB / 0.9642 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009591/0.7734, allocations: 1.176 MB / 0.9654 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.7734, allocations: 1.438 kB / 0.9654 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7735, allocations: 0 / 0.9654 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.198e-05/0.7735, allocations: 3.938 kB / 0.9654 GB, free: 3.859 MB / 0.7169 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.002237/0.7757, allocations: 1.475 MB / 0.9668 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.7758, allocations: 9.594 kB / 0.9668 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.439e-05/0.7759, allocations: 81.95 kB / 0.9669 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.776, allocations: 132.7 kB / 0.967 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007222/0.7768, allocations: 0.6557 MB / 0.9677 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.7769, allocations: 73.7 kB / 0.9677 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.929e-05/0.777, allocations: 51.39 kB / 0.9678 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009066/0.7779, allocations: 0.5148 MB / 0.9683 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.7779, allocations: 1.25 kB / 0.9683 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.435e-05/0.778, allocations: 17.81 kB / 0.9683 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.778, allocations: 11 kB / 0.9683 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000769/0.7788, allocations: 415.3 kB / 0.9687 GB, free: 18.35 MB / 0.7325 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.003315/0.7821, allocations: 2.799 MB / 0.9714 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000957/0.7831, allocations: 469.2 kB / 0.9719 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005176/0.7836, allocations: 285.3 kB / 0.9722 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/0.7836, allocations: 10.34 kB / 0.9722 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000519/0.7842, allocations: 307.4 kB / 0.9725 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 2.284e-06/0.7842, allocations: 0 / 0.9725 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002794/0.787, allocations: 1.238 MB / 0.9737 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.787, allocations: 59.47 kB / 0.9737 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.7886, allocations: 1.748 MB / 0.9754 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.647e-05/0.7886, allocations: 38.92 kB / 0.9755 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/0.789, allocations: 0.509 MB / 0.976 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.379e-05/0.7891, allocations: 150 kB / 0.9761 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.7892, allocations: 102.6 kB / 0.9762 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.7893, allocations: 328.4 kB / 0.9765 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004658/0.7898, allocations: 217 kB / 0.9767 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000486/0.7903, allocations: 325 kB / 0.9771 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008016/0.7911, allocations: 0.5137 MB / 0.9776 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.7911, allocations: 0 / 0.9776 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001573/0.7927, allocations: 0.8595 MB / 0.9784 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.7927, allocations: 5.344 kB / 0.9784 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.7927, allocations: 2.812 kB / 0.9784 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004961/0.7932, allocations: 185.9 kB / 0.9786 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.7936, allocations: 90.19 kB / 0.9787 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003317/0.7969, allocations: 3.004 MB / 0.9816 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005281/0.7975, allocations: 79.38 kB / 0.9817 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.7975, allocations: 19.16 kB / 0.9817 GB, free: 10.75 MB / 0.7325 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.000568/0.7981, allocations: 386.7 kB / 0.9821 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.7982, allocations: 120.6 kB / 0.9822 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.7984, allocations: 143 kB / 0.9823 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.7985, allocations: 2.125 kB / 0.9823 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.7985, allocations: 2.938 kB / 0.9823 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.7985, allocations: 2.625 kB / 0.9823 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/0.8008, allocations: 1.571 MB / 0.9839 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.8008, allocations: 3.938 kB / 0.9839 GB, free: 9.645 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.8011, allocations: 44.05 kB / 0.9839 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004938/0.8016, allocations: 195.2 kB / 0.9841 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.459e-05/0.8016, allocations: 17.2 kB / 0.9841 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004181/0.8058, allocations: 4.562 MB / 0.9886 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8058, allocations: 0 / 0.9886 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.8077, allocations: 1.056 MB / 0.9896 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002805/0.808, allocations: 219.5 kB / 0.9898 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.486e-05/0.8081, allocations: 9.344 kB / 0.9898 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003209/0.8084, allocations: 33.56 kB / 0.9898 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.8085, allocations: 51.67 kB / 0.9899 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/0.8086, allocations: 18.17 kB / 0.9899 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001349/0.8099, allocations: 1.273 MB / 0.9911 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8099, allocations: 0 / 0.9911 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007832/0.8107, allocations: 203 kB / 0.9913 GB, free: 3.953 MB / 0.7325 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.00302/0.8137, allocations: 1.979 MB / 0.9933 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001613/0.8154, allocations: 0.7609 MB / 0.994 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.8154, allocations: 0 / 0.994 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008556/0.8162, allocations: 0.5476 MB / 0.9945 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009681/0.8172, allocations: 192.2 kB / 0.9947 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.8288, allocations: 9.118 MB / 1.004 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007332/0.8296, allocations: 1.158 MB / 1.005 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002868/0.8298, allocations: 96.47 kB / 1.005 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004318/0.8303, allocations: 403.8 kB / 1.005 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of SimCode: time 8.62e-07/0.8303, allocations: 0 / 1.005 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04491/0.8752, allocations: 20.83 MB / 1.026 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.335/10.21, allocations: 17.8 kB / 1.026 GB, free: 10.14 MB / 0.7637 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)