Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.TestCase5,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",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.001427/0.001427, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001637/0.001638, allocations: 192.2 kB / 16.25 MB, free: 6.637 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.226/1.226, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.129/2.129, allocations: 390.2 MB / 0.6644 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001245, allocations: 63.91 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4878/0.489, allocations: 140.4 MB / 0.9492 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1359/0.6249, allocations: 155.1 MB / 1.101 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02035/0.6453, allocations: 21.74 MB / 1.122 GB, free: 0.5352 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.6467, allocations: 55.69 kB / 1.122 GB, free: 492 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002226/0.649, allocations: 2.109 MB / 1.124 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.6507, allocations: 1.371 MB / 1.125 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.6519, allocations: 0.5206 MB / 1.126 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001697/0.6537, allocations: 1.824 MB / 1.128 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.6547, allocations: 1.097 MB / 1.129 GB, free: 9.527 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007666/0.6555, allocations: 0.8879 MB / 1.13 GB, free: 8.637 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.6568, allocations: 1.6 MB / 1.131 GB, free: 7.031 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.6569, allocations: 88 kB / 1.131 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002509/0.6572, allocations: 143.9 kB / 1.131 GB, free: 6.805 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003729/0.6576, allocations: 0.555 MB / 1.132 GB, free: 6.25 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004901/0.6581, allocations: 0.7603 MB / 1.133 GB, free: 5.484 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.6593, allocations: 1.821 MB / 1.134 GB, free: 3.656 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.6593, allocations: 0 / 1.134 GB, free: 3.656 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6593, allocations: 0 / 1.134 GB, free: 3.656 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.6594, allocations: 0 / 1.134 GB, free: 3.656 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002625/0.662, allocations: 2.285 MB / 1.137 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.662, allocations: 12.03 kB / 1.137 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/0.6621, allocations: 106.7 kB / 1.137 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002154/0.6624, allocations: 222.1 kB / 1.137 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.6634, allocations: 1.007 MB / 1.138 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.6635, allocations: 86.98 kB / 1.138 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.57e-05/0.6636, allocations: 67.91 kB / 1.138 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.6647, allocations: 0.7368 MB / 1.139 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.6648, allocations: 0 / 1.139 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.283e-05/0.6648, allocations: 20 kB / 1.139 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.6648, allocations: 20 kB / 1.139 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.6659, allocations: 0.5907 MB / 1.139 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003768/0.6696, allocations: 3.529 MB / 1.143 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.6709, allocations: 0.7021 MB / 1.144 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006421/0.6716, allocations: 415.6 kB / 1.144 GB, free: 9.441 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.396e-05/0.6716, allocations: 8.562 kB / 1.144 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006779/0.6723, allocations: 430.9 kB / 1.144 GB, free: 9 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=70): time 2.084e-06/0.6723, allocations: 4 kB / 1.144 GB, free: 8.996 MB / 0.9044 GB Notification: Performance of matching and sorting (n=70): time 0.003673/0.676, allocations: 1.8 MB / 1.146 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.6761, allocations: 59.97 kB / 1.146 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002697/0.6788, allocations: 3.312 MB / 1.149 GB, free: 3.734 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.962e-05/0.6788, allocations: 45.7 kB / 1.15 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000591/0.6794, allocations: 0.8821 MB / 1.15 GB, free: 2.793 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.6796, allocations: 224.9 kB / 1.151 GB, free: 2.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.6798, allocations: 138.6 kB / 1.151 GB, free: 2.43 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.107e-05/0.6799, allocations: 330 kB / 1.151 GB, free: 2.102 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005533/0.6804, allocations: 305.8 kB / 1.151 GB, free: 1.805 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006134/0.681, allocations: 434.4 kB / 1.152 GB, free: 1.34 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.6821, allocations: 0.7302 MB / 1.152 GB, free: 0.5703 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.6821, allocations: 4 kB / 1.152 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001894/0.684, allocations: 1.203 MB / 1.154 GB, free: 15.35 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.6841, allocations: 11.94 kB / 1.154 GB, free: 15.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.6841, allocations: 7.984 kB / 1.154 GB, free: 15.33 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006063/0.6847, allocations: 257.6 kB / 1.154 GB, free: 15.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/0.6851, allocations: 127.8 kB / 1.154 GB, free: 14.95 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004133/0.6893, allocations: 4.769 MB / 1.159 GB, free: 9.902 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.6898, allocations: 107.3 kB / 1.159 GB, free: 9.797 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/0.6899, allocations: 28 kB / 1.159 GB, free: 9.77 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000589/0.6904, allocations: 0.599 MB / 1.159 GB, free: 9.16 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.6906, allocations: 213.4 kB / 1.16 GB, free: 8.949 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.6909, allocations: 248.5 kB / 1.16 GB, free: 8.703 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.6909, allocations: 11.94 kB / 1.16 GB, free: 8.691 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.691, allocations: 4 kB / 1.16 GB, free: 8.688 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.691, allocations: 7.922 kB / 1.16 GB, free: 8.68 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/0.694, allocations: 2.331 MB / 1.162 GB, free: 6.285 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.694, allocations: 4 kB / 1.162 GB, free: 6.281 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.6943, allocations: 71.89 kB / 1.162 GB, free: 6.211 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005346/0.6948, allocations: 245.5 kB / 1.162 GB, free: 5.965 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.359e-05/0.6949, allocations: 19.98 kB / 1.162 GB, free: 5.945 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004038/0.6989, allocations: 4.758 MB / 1.167 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.699, allocations: 0 / 1.167 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/0.7013, allocations: 1.575 MB / 1.169 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003266/0.7016, allocations: 314.4 kB / 1.169 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.7017, allocations: 19.94 kB / 1.169 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000424/0.7022, allocations: 51.84 kB / 1.169 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.7023, allocations: 72.42 kB / 1.169 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/0.7024, allocations: 31.98 kB / 1.169 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002157/0.7045, allocations: 2.419 MB / 1.171 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7046, allocations: 4 kB / 1.171 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007328/0.7053, allocations: 288.3 kB / 1.172 GB, free: 12.08 MB / 0.9356 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.003465/0.7088, allocations: 2.508 MB / 1.174 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001914/0.7107, allocations: 1.147 MB / 1.175 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7107, allocations: 0 / 1.175 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009037/0.7116, allocations: 0.6865 MB / 1.176 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.7128, allocations: 295.8 kB / 1.176 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01717/0.73, allocations: 15.97 MB / 1.192 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009317/0.7309, allocations: 1.532 MB / 1.193 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003564/0.7313, allocations: 158.3 kB / 1.194 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006184/0.7319, allocations: 0.7023 MB / 1.194 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of SimCode: time 3.01e-07/0.7319, allocations: 0 / 1.194 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7251/1.457, allocations: 32 MB / 1.225 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002806/1.457, allocations: 277.3 kB / 1.226 GB, free: 4 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.542/3.999, allocations: 0 / 1.226 GB, free: 4 MB / 0.9825 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)