Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",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.001509/0.00151, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001707/0.001707, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.244/1.244, allocations: 222.9 MB / 239.8 MB, free: 4.641 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.088/2.088, allocations: 390.3 MB / 0.6643 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4944/0.4956, allocations: 140.4 MB / 0.9491 GB, free: 9.414 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.134/0.6296, allocations: 154.5 MB / 1.1 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02035/0.65, allocations: 21.59 MB / 1.121 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.6516, allocations: 55.69 kB / 1.121 GB, free: 1.488 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.6531, allocations: 1.13 MB / 1.122 GB, free: 364 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.6543, allocations: 0.8099 MB / 1.123 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009805/0.6553, allocations: 374.7 kB / 1.123 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001305/0.6566, allocations: 1.352 MB / 1.125 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007494/0.6574, allocations: 0.6219 MB / 1.125 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006488/0.658, allocations: 494.2 kB / 1.126 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009982/0.6591, allocations: 0.9059 MB / 1.127 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.6592, allocations: 40 kB / 1.127 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002396/0.6594, allocations: 79.98 kB / 1.127 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002561/0.6597, allocations: 312.7 kB / 1.127 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004415/0.6601, allocations: 468.8 kB / 1.127 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0009255/0.6611, allocations: 1.144 MB / 1.129 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.6611, allocations: 4 kB / 1.129 GB, free: 9.77 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6611, allocations: 4 kB / 1.129 GB, free: 9.766 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.815e-05/0.6611, allocations: 0 / 1.129 GB, free: 9.766 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.002239/0.6634, allocations: 1.484 MB / 1.13 GB, free: 8.227 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.6634, allocations: 8.031 kB / 1.13 GB, free: 8.219 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.581e-05/0.6635, allocations: 78.72 kB / 1.13 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.6637, allocations: 139.2 kB / 1.13 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007349/0.6645, allocations: 0.6549 MB / 1.131 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.6646, allocations: 70.69 kB / 1.131 GB, free: 7.215 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.366e-05/0.6647, allocations: 51.91 kB / 1.131 GB, free: 7.164 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008539/0.6655, allocations: 0.5184 MB / 1.131 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.6656, allocations: 0 / 1.131 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.379e-05/0.6656, allocations: 20 kB / 1.132 GB, free: 6.613 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.6656, allocations: 12 kB / 1.132 GB, free: 6.602 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007694/0.6664, allocations: 415.7 kB / 1.132 GB, free: 6.195 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.003074/0.6695, allocations: 2.731 MB / 1.135 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008435/0.6703, allocations: 453.2 kB / 1.135 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005749/0.6709, allocations: 297.3 kB / 1.135 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.671, allocations: 12.59 kB / 1.135 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004879/0.6715, allocations: 283 kB / 1.136 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=44): time 1.823e-06/0.6715, allocations: 0 / 1.136 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of matching and sorting (n=44): time 0.002367/0.6738, allocations: 1.148 MB / 1.137 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.6739, allocations: 59.39 kB / 1.137 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.6755, allocations: 1.76 MB / 1.138 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.6756, allocations: 37.7 kB / 1.139 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/0.6759, allocations: 0.5287 MB / 1.139 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.676, allocations: 150 kB / 1.139 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.6762, allocations: 98.25 kB / 1.139 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.742e-05/0.6763, allocations: 330 kB / 1.14 GB, free: 14 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004238/0.6767, allocations: 209 kB / 1.14 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000475/0.6772, allocations: 339.1 kB / 1.14 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007908/0.678, allocations: 0.5228 MB / 1.141 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.678, allocations: 7.938 kB / 1.141 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00141/0.6794, allocations: 0.8013 MB / 1.141 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.6794, allocations: 8 kB / 1.141 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.6795, allocations: 7.984 kB / 1.141 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003807/0.6798, allocations: 138.3 kB / 1.142 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.6802, allocations: 99.94 kB / 1.142 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/0.6827, allocations: 2.379 MB / 1.144 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/0.6831, allocations: 87.45 kB / 1.144 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.6832, allocations: 20 kB / 1.144 GB, free: 9.145 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004316/0.6836, allocations: 385.3 kB / 1.144 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.6838, allocations: 118.5 kB / 1.145 GB, free: 8.645 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.684, allocations: 139.7 kB / 1.145 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.684, allocations: 11.94 kB / 1.145 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.684, allocations: 7.984 kB / 1.145 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.684, allocations: 0 / 1.145 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.6862, allocations: 1.486 MB / 1.146 GB, free: 6.938 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.6862, allocations: 0 / 1.146 GB, free: 6.938 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.6864, allocations: 47.89 kB / 1.146 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003819/0.6868, allocations: 165.6 kB / 1.146 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.9e-05/0.6868, allocations: 11.98 kB / 1.146 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00319/0.69, allocations: 3.685 MB / 1.15 GB, free: 2.762 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6901, allocations: 4.031 kB / 1.15 GB, free: 2.758 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.6917, allocations: 0.9946 MB / 1.151 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002559/0.6919, allocations: 207.7 kB / 1.151 GB, free: 1.516 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.692, allocations: 19.92 kB / 1.151 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.6924, allocations: 43.89 kB / 1.151 GB, free: 1.453 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.6925, allocations: 47.92 kB / 1.151 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/0.6926, allocations: 16 kB / 1.151 GB, free: 1.391 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001261/0.6938, allocations: 1.289 MB / 1.153 GB, free: 100 kB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6938, allocations: 0 / 1.153 GB, free: 100 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007064/0.6946, allocations: 203.6 kB / 1.153 GB, free: 15.89 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,12,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.00269/0.6972, allocations: 1.908 MB / 1.155 GB, free: 14.15 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.6985, allocations: 0.6724 MB / 1.155 GB, free: 13.46 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6985, allocations: 0 / 1.155 GB, free: 13.46 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007464/0.6993, allocations: 0.521 MB / 1.156 GB, free: 12.92 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009224/0.7002, allocations: 186 kB / 1.156 GB, free: 12.74 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.7112, allocations: 9.347 MB / 1.165 GB, free: 2.957 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006363/0.7119, allocations: 1.153 MB / 1.166 GB, free: 1.773 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002463/0.7121, allocations: 92.77 kB / 1.166 GB, free: 1.684 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003918/0.7125, allocations: 403.3 kB / 1.167 GB, free: 1.289 MB / 0.92 GB Notification: Performance of SimCode: time 1.503e-06/0.7125, allocations: 0 / 1.167 GB, free: 1.289 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.349/3.062, allocations: 19.74 MB / 1.186 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002722/3.062, allocations: 278.9 kB / 1.186 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.316/5.378, allocations: 0 / 1.186 GB, free: 13.47 MB / 0.9512 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)