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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009712/0.0009712, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001025/0.001025, allocations: 191.8 kB / 16.13 MB, free: 6.699 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.391/1.391, allocations: 222.9 MB / 239.8 MB, free: 4.648 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.295/2.295, allocations: 390.2 MB / 0.6643 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 59.91 kB / 0.812 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5837/0.5851, allocations: 140.4 MB / 0.9491 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1555/0.7407, allocations: 154.5 MB / 1.1 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02213/0.7628, allocations: 21.6 MB / 1.121 GB, free: 1.453 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001565/0.7644, allocations: 47.69 kB / 1.121 GB, free: 1.406 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.7659, allocations: 1.13 MB / 1.122 GB, free: 280 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.7671, allocations: 0.8098 MB / 1.123 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009081/0.768, allocations: 386.1 kB / 1.123 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001146/0.7692, allocations: 1.345 MB / 1.125 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006739/0.7698, allocations: 0.6219 MB / 1.125 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005301/0.7704, allocations: 0.4944 MB / 1.126 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008933/0.7713, allocations: 0.906 MB / 1.127 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.699e-05/0.7714, allocations: 36 kB / 1.127 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002177/0.7716, allocations: 83.92 kB / 1.127 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.7719, allocations: 308.7 kB / 1.127 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003635/0.7722, allocations: 464.8 kB / 1.127 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000879/0.7731, allocations: 1.148 MB / 1.129 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.7731, allocations: 0 / 1.129 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of FrontEnd: time 7.92e-07/0.7731, allocations: 0 / 1.129 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.7732, allocations: 4 kB / 1.129 GB, free: 9.676 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.002046/0.7752, allocations: 1.475 MB / 1.13 GB, free: 8.145 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.7753, allocations: 12.03 kB / 1.13 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.588e-05/0.7754, allocations: 82.7 kB / 1.13 GB, free: 8.043 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.7755, allocations: 135.2 kB / 1.13 GB, free: 7.91 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007525/0.7763, allocations: 0.6626 MB / 1.131 GB, free: 7.195 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.7764, allocations: 70.69 kB / 1.131 GB, free: 7.121 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.592e-05/0.7765, allocations: 51.91 kB / 1.131 GB, free: 7.07 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008947/0.7774, allocations: 0.5145 MB / 1.131 GB, free: 6.543 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.7774, allocations: 0 / 1.131 GB, free: 6.543 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.514e-05/0.7775, allocations: 16 kB / 1.131 GB, free: 6.527 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.7775, allocations: 16 kB / 1.132 GB, free: 6.512 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008121/0.7783, allocations: 411.7 kB / 1.132 GB, free: 6.109 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.003274/0.7816, allocations: 2.803 MB / 1.135 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000966/0.7826, allocations: 455.8 kB / 1.135 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005506/0.7831, allocations: 291.1 kB / 1.135 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.7832, allocations: 4.656 kB / 1.135 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005339/0.7837, allocations: 309.7 kB / 1.136 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=45): time 1.964e-06/0.7837, allocations: 0 / 1.136 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45): time 0.002778/0.7865, allocations: 1.25 MB / 1.137 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.7866, allocations: 55.41 kB / 1.137 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.7882, allocations: 1.748 MB / 1.139 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.7883, allocations: 37.7 kB / 1.139 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003946/0.7887, allocations: 0.5179 MB / 1.139 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.7888, allocations: 149.9 kB / 1.139 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.789, allocations: 102.2 kB / 1.139 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.7891, allocations: 330 kB / 1.14 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004719/0.7896, allocations: 217 kB / 1.14 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005382/0.7901, allocations: 328.8 kB / 1.14 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008855/0.791, allocations: 0.5137 MB / 1.141 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.791, allocations: 3.938 kB / 1.141 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001563/0.7926, allocations: 0.8429 MB / 1.142 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.7926, allocations: 4 kB / 1.142 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.7926, allocations: 7.984 kB / 1.142 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005055/0.7932, allocations: 186.7 kB / 1.142 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/0.7935, allocations: 95.81 kB / 1.142 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/0.7967, allocations: 2.742 MB / 1.145 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.7971, allocations: 79.39 kB / 1.145 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.7971, allocations: 24.06 kB / 1.145 GB, free: 8.484 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.0004532/0.7976, allocations: 379.4 kB / 1.145 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.7977, allocations: 114.5 kB / 1.145 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.7979, allocations: 139.7 kB / 1.145 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.798, allocations: 11.98 kB / 1.145 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.798, allocations: 0 / 1.145 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.798, allocations: 7.984 kB / 1.145 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.8004, allocations: 1.565 MB / 1.147 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.8004, allocations: 0 / 1.147 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.8006, allocations: 47.91 kB / 1.147 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004729/0.8011, allocations: 195 kB / 1.147 GB, free: 5.965 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/0.8011, allocations: 11.98 kB / 1.147 GB, free: 5.953 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003845/0.805, allocations: 4.119 MB / 1.151 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.805, allocations: 0 / 1.151 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.8068, allocations: 1.077 MB / 1.152 GB, free: 480 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002413/0.807, allocations: 215.5 kB / 1.152 GB, free: 244 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.255e-05/0.8071, allocations: 11.98 kB / 1.152 GB, free: 232 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003287/0.8075, allocations: 31.97 kB / 1.152 GB, free: 200 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.8076, allocations: 51.86 kB / 1.152 GB, free: 148 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/0.8077, allocations: 27.92 kB / 1.152 GB, free: 120 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001303/0.809, allocations: 1.281 MB / 1.154 GB, free: 14.83 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.809, allocations: 0 / 1.154 GB, free: 14.83 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008083/0.8098, allocations: 211.7 kB / 1.154 GB, free: 14.62 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.003038/0.8128, allocations: 1.973 MB / 1.156 GB, free: 12.81 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001409/0.8143, allocations: 0.7308 MB / 1.157 GB, free: 12.06 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8143, allocations: 3.938 kB / 1.157 GB, free: 12.06 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008257/0.8151, allocations: 0.5441 MB / 1.157 GB, free: 11.49 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009475/0.8161, allocations: 187.2 kB / 1.157 GB, free: 11.31 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.8283, allocations: 9.4 MB / 1.166 GB, free: 1.5 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007367/0.829, allocations: 1.153 MB / 1.168 GB, free: 324 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000311/0.8294, allocations: 88.78 kB / 1.168 GB, free: 236 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004273/0.8298, allocations: 407.4 kB / 1.168 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of SimCode: time 5.41e-07/0.8298, allocations: 3.938 kB / 1.168 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03567/0.8655, allocations: 20.12 MB / 1.188 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/0.8657, allocations: 282.4 kB / 1.188 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.197/3.063, allocations: 8.984 kB / 1.188 GB, free: 11.62 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)