Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_9_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.00177/0.00177, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001984/0.001984, allocations: 195.9 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.143/2.143, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.91 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4837/0.485, allocations: 140.4 MB / 0.9492 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.139/0.6241, allocations: 154.6 MB / 1.1 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02086/0.645, allocations: 21.49 MB / 1.121 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.6464, allocations: 47.69 kB / 1.121 GB, free: 1.25 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.6479, allocations: 1.122 MB / 1.122 GB, free: 128 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.6493, allocations: 0.8255 MB / 1.123 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009889/0.6503, allocations: 386.4 kB / 1.124 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001239/0.6515, allocations: 1.259 MB / 1.125 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008025/0.6524, allocations: 0.693 MB / 1.125 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000718/0.6531, allocations: 0.5529 MB / 1.126 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.6541, allocations: 0.949 MB / 1.127 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.6542, allocations: 67.94 kB / 1.127 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.6545, allocations: 116 kB / 1.127 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002543/0.6547, allocations: 332.7 kB / 1.127 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004027/0.6551, allocations: 492.8 kB / 1.128 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0009666/0.6561, allocations: 1.187 MB / 1.129 GB, free: 9.273 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.6561, allocations: 0 / 1.129 GB, free: 9.273 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6561, allocations: 0 / 1.129 GB, free: 9.273 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.358e-05/0.6562, allocations: 0 / 1.129 GB, free: 9.273 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002151/0.6583, allocations: 1.471 MB / 1.13 GB, free: 7.746 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.6584, allocations: 12.02 kB / 1.13 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.6585, allocations: 86.66 kB / 1.131 GB, free: 7.641 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.6587, allocations: 143.2 kB / 1.131 GB, free: 7.5 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007908/0.6595, allocations: 0.6471 MB / 1.131 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.6596, allocations: 74.69 kB / 1.131 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.108e-05/0.6597, allocations: 51.84 kB / 1.131 GB, free: 6.672 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009064/0.6606, allocations: 0.5184 MB / 1.132 GB, free: 6.141 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.6606, allocations: 4 kB / 1.132 GB, free: 6.137 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.517e-05/0.6607, allocations: 19.98 kB / 1.132 GB, free: 6.117 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.6607, allocations: 8 kB / 1.132 GB, free: 6.109 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007766/0.6615, allocations: 411.7 kB / 1.132 GB, free: 5.707 MB / 0.8887 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.003236/0.6647, allocations: 2.811 MB / 1.135 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009205/0.6656, allocations: 453.2 kB / 1.136 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005053/0.6662, allocations: 283.3 kB / 1.136 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.973e-05/0.6662, allocations: 12.58 kB / 1.136 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005026/0.6667, allocations: 301.8 kB / 1.136 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=45): time 1.863e-06/0.6667, allocations: 0 / 1.136 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45): time 0.002659/0.6694, allocations: 1.242 MB / 1.137 GB, free: 320 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.6695, allocations: 55.41 kB / 1.137 GB, free: 252 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.671, allocations: 1.752 MB / 1.139 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.6711, allocations: 41.69 kB / 1.139 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003442/0.6714, allocations: 0.5218 MB / 1.14 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.6716, allocations: 149.9 kB / 1.14 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.6717, allocations: 94.25 kB / 1.14 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.128e-05/0.6718, allocations: 330 kB / 1.14 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004411/0.6723, allocations: 213 kB / 1.14 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004985/0.6728, allocations: 328.8 kB / 1.141 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008118/0.6736, allocations: 0.5105 MB / 1.141 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/0.6736, allocations: 19.86 kB / 1.141 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001448/0.6751, allocations: 0.8372 MB / 1.142 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.6751, allocations: 8 kB / 1.142 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.6751, allocations: 4 kB / 1.142 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004648/0.6756, allocations: 190.8 kB / 1.142 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.6759, allocations: 99.81 kB / 1.142 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003054/0.679, allocations: 3.004 MB / 1.145 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.6794, allocations: 79.55 kB / 1.145 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.6794, allocations: 20 kB / 1.145 GB, free: 7.82 MB / 0.9044 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_last,$PRE.mean.y_last,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.0003826/0.6798, allocations: 391.8 kB / 1.146 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.6799, allocations: 114.5 kB / 1.146 GB, free: 7.316 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.6801, allocations: 143.7 kB / 1.146 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.6801, allocations: 4 kB / 1.146 GB, free: 7.172 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.6801, allocations: 7.984 kB / 1.146 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.6801, allocations: 0 / 1.146 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.6823, allocations: 1.562 MB / 1.147 GB, free: 5.543 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6823, allocations: 0 / 1.147 GB, free: 5.543 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.6825, allocations: 39.97 kB / 1.148 GB, free: 5.504 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004339/0.683, allocations: 197.5 kB / 1.148 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.683, allocations: 15.98 kB / 1.148 GB, free: 5.289 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003877/0.6869, allocations: 4.561 MB / 1.152 GB, free: 464 kB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6869, allocations: 7.969 kB / 1.152 GB, free: 456 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.6886, allocations: 1.061 MB / 1.153 GB, free: 15.36 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/0.6888, allocations: 211.6 kB / 1.153 GB, free: 15.14 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.136e-05/0.6889, allocations: 8 kB / 1.153 GB, free: 15.13 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003162/0.6892, allocations: 39.95 kB / 1.153 GB, free: 15.09 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.6894, allocations: 51.92 kB / 1.154 GB, free: 15.04 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.6894, allocations: 16 kB / 1.154 GB, free: 15.02 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001155/0.6906, allocations: 1.281 MB / 1.155 GB, free: 13.74 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6906, allocations: 0 / 1.155 GB, free: 13.74 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006747/0.6913, allocations: 207.6 kB / 1.155 GB, free: 13.54 MB / 0.92 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_last) * 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.002764/0.694, allocations: 1.986 MB / 1.157 GB, free: 11.71 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0014/0.6954, allocations: 0.7581 MB / 1.158 GB, free: 10.93 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6955, allocations: 4.125 kB / 1.158 GB, free: 10.93 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007755/0.6962, allocations: 0.5439 MB / 1.158 GB, free: 10.36 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009033/0.6971, allocations: 203.2 kB / 1.158 GB, free: 10.16 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.7086, allocations: 9.408 MB / 1.168 GB, free: 356 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007337/0.7093, allocations: 1.149 MB / 1.169 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002901/0.7096, allocations: 88.77 kB / 1.169 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004079/0.7101, allocations: 407.3 kB / 1.169 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of SimCode: time 5.11e-07/0.7101, allocations: 0 / 1.169 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.744/1.454, allocations: 20.56 MB / 1.189 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002678/1.454, allocations: 283 kB / 1.19 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.207/3.661, allocations: 0 / 1.19 GB, free: 10.06 MB / 0.9512 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)