Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.TestCase10,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",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.001083/0.001083, 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.001063/0.001063, allocations: 195.9 kB / 16.26 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.22/1.22, allocations: 222.9 MB / 239.9 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.361/2.361, allocations: 437 MB / 0.7101 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 63.89 kB / 0.8689 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5353/0.5364, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1363/0.6728, allocations: 155.4 MB / 1.169 GB, free: 6.75 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02112/0.6939, allocations: 21.81 MB / 1.19 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001479/0.6954, allocations: 51.69 kB / 1.19 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002277/0.6977, allocations: 2.121 MB / 1.192 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001944/0.6997, allocations: 1.406 MB / 1.193 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.7011, allocations: 0.5624 MB / 1.194 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001982/0.7031, allocations: 1.926 MB / 1.196 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001393/0.7045, allocations: 1.125 MB / 1.197 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.7057, allocations: 0.9268 MB / 1.198 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.7074, allocations: 1.651 MB / 1.199 GB, free: 7.066 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.7076, allocations: 96 kB / 1.2 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002795/0.7078, allocations: 140 kB / 1.2 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003942/0.7082, allocations: 0.5898 MB / 1.2 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005474/0.7088, allocations: 0.7991 MB / 1.201 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.7101, allocations: 1.899 MB / 1.203 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7101, allocations: 3.938 kB / 1.203 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7102, allocations: 7.938 kB / 1.203 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.7102, allocations: 0 / 1.203 GB, free: 3.516 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002768/0.7129, allocations: 2.349 MB / 1.205 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.713, allocations: 8.031 kB / 1.205 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001196/0.7131, allocations: 114.7 kB / 1.205 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/0.7134, allocations: 245.7 kB / 1.206 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.7144, allocations: 1.023 MB / 1.207 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.7145, allocations: 87 kB / 1.207 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.8e-05/0.7146, allocations: 75.98 kB / 1.207 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.7159, allocations: 0.7845 MB / 1.208 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.7159, allocations: 0 / 1.208 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-05/0.716, allocations: 31.92 kB / 1.208 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.716, allocations: 16 kB / 1.208 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.7171, allocations: 0.6375 MB / 1.208 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004082/0.7212, allocations: 3.752 MB / 1.212 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.7225, allocations: 0.7329 MB / 1.213 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000668/0.7232, allocations: 426.3 kB / 1.213 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.691e-05/0.7233, allocations: 16.53 kB / 1.213 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007259/0.724, allocations: 444.1 kB / 1.213 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=73): time 2.014e-06/0.724, allocations: 0 / 1.213 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of matching and sorting (n=73): time 0.003732/0.7277, allocations: 1.834 MB / 1.215 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.7278, allocations: 60.06 kB / 1.215 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002791/0.7306, allocations: 3.366 MB / 1.219 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.491e-05/0.7307, allocations: 45.7 kB / 1.219 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006135/0.7313, allocations: 0.9291 MB / 1.219 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.7314, allocations: 232.7 kB / 1.22 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.7317, allocations: 142.7 kB / 1.22 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.492e-05/0.7318, allocations: 337.9 kB / 1.22 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005897/0.7323, allocations: 321.8 kB / 1.22 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006636/0.733, allocations: 476 kB / 1.221 GB, free: 488 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.7342, allocations: 0.7463 MB / 1.222 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7342, allocations: 0 / 1.222 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002007/0.7362, allocations: 1.253 MB / 1.223 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.7362, allocations: 4 kB / 1.223 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.7362, allocations: 4 kB / 1.223 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006216/0.7369, allocations: 263.3 kB / 1.223 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004715/0.7373, allocations: 139.7 kB / 1.223 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004162/0.7415, allocations: 4.76 MB / 1.228 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000571/0.7421, allocations: 107.2 kB / 1.228 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-05/0.7422, allocations: 32 kB / 1.228 GB, free: 8.848 MB / 0.9825 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.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.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 (77): * Single equations (assignments): 75 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006064/0.7428, allocations: 0.6074 MB / 1.229 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.743, allocations: 213.4 kB / 1.229 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.7433, allocations: 261.1 kB / 1.229 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.7433, allocations: 11.94 kB / 1.229 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.7433, allocations: 4 kB / 1.229 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.7433, allocations: 7.922 kB / 1.229 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003164/0.7465, allocations: 2.404 MB / 1.231 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.7465, allocations: 4 kB / 1.231 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000304/0.7468, allocations: 71.89 kB / 1.232 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005386/0.7473, allocations: 250.9 kB / 1.232 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.197e-05/0.7474, allocations: 31.92 kB / 1.232 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004061/0.7515, allocations: 4.748 MB / 1.236 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7515, allocations: 3.938 kB / 1.236 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002413/0.7539, allocations: 1.629 MB / 1.238 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003262/0.7542, allocations: 326.2 kB / 1.238 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.7544, allocations: 19.98 kB / 1.238 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004446/0.7548, allocations: 47.95 kB / 1.238 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.755, allocations: 72.55 kB / 1.238 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.558e-05/0.7551, allocations: 24 kB / 1.239 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002101/0.7572, allocations: 2.464 MB / 1.241 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7572, allocations: 0 / 1.241 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007505/0.7579, allocations: 303.5 kB / 1.241 GB, free: 10.96 MB / 0.9981 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,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * 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.00358/0.7615, allocations: 2.571 MB / 1.244 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002006/0.7635, allocations: 1.188 MB / 1.245 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7636, allocations: 0 / 1.245 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009556/0.7645, allocations: 0.7061 MB / 1.246 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.7657, allocations: 300.5 kB / 1.246 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3987/1.164, allocations: 16.48 MB / 1.262 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/1.166, allocations: 1.554 MB / 1.263 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005417/1.167, allocations: 165.8 kB / 1.264 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006332/1.167, allocations: 0.7464 MB / 1.264 GB, free: 225.5 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/1.167, allocations: 3.219 kB / 1.264 GB, free: 225.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05074/1.218, allocations: 33.23 MB / 1.297 GB, free: 204.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/1.218, allocations: 280.3 kB / 1.297 GB, free: 204.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.504/3.722, allocations: 0 / 1.297 GB, free: 204.3 MB / 0.9981 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)