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.001296/0.001296, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.255/1.255, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.322/2.322, allocations: 437.1 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 59.91 kB / 0.8693 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4952/0.4965, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1462/0.6428, allocations: 157.5 MB / 1.171 GB, free: 4.312 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02118/0.664, allocations: 22.06 MB / 1.193 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001522/0.6655, allocations: 55.69 kB / 1.193 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002101/0.6677, allocations: 2.175 MB / 1.195 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.6693, allocations: 1.448 MB / 1.196 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.6705, allocations: 0.6172 MB / 1.197 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001433/0.6719, allocations: 1.929 MB / 1.199 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.673, allocations: 1.117 MB / 1.2 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007785/0.6737, allocations: 0.923 MB / 1.201 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.6751, allocations: 1.581 MB / 1.202 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.6753, allocations: 96 kB / 1.203 GB, free: 4.203 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002789/0.6756, allocations: 147.9 kB / 1.203 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003812/0.676, allocations: 0.5508 MB / 1.203 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005608/0.6765, allocations: 0.8069 MB / 1.204 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.6779, allocations: 1.891 MB / 1.206 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6779, allocations: 4 kB / 1.206 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6779, allocations: 0 / 1.206 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.575e-05/0.6779, allocations: 0 / 1.206 GB, free: 0.7852 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.002853/0.6808, allocations: 2.353 MB / 1.208 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.6808, allocations: 8.031 kB / 1.208 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000115/0.681, allocations: 110.7 kB / 1.208 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002452/0.6812, allocations: 245.7 kB / 1.208 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.6823, allocations: 1.031 MB / 1.209 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.6824, allocations: 87 kB / 1.21 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.6826, allocations: 71.98 kB / 1.21 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.6838, allocations: 0.7845 MB / 1.21 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.6838, allocations: 0 / 1.21 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.516e-05/0.6839, allocations: 31.98 kB / 1.21 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.6839, allocations: 16 kB / 1.21 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.685, allocations: 0.6452 MB / 1.211 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004515/0.6895, allocations: 3.741 MB / 1.215 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.6911, allocations: 0.7407 MB / 1.215 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007399/0.6919, allocations: 430.3 kB / 1.216 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.6919, allocations: 8.562 kB / 1.216 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007631/0.6927, allocations: 448 kB / 1.216 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=73): time 2.294e-06/0.6927, allocations: 0 / 1.216 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of matching and sorting (n=73): time 0.003992/0.6967, allocations: 1.834 MB / 1.218 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.6968, allocations: 64.06 kB / 1.218 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002967/0.6997, allocations: 3.359 MB / 1.221 GB, free: 276 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.591e-05/0.6998, allocations: 49.64 kB / 1.221 GB, free: 220 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006822/0.7005, allocations: 0.9292 MB / 1.222 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.7007, allocations: 232.7 kB / 1.223 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.7009, allocations: 138.7 kB / 1.223 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.701, allocations: 337.9 kB / 1.223 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006213/0.7016, allocations: 321.8 kB / 1.223 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007129/0.7023, allocations: 475.9 kB / 1.224 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.7035, allocations: 0.7536 MB / 1.225 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.7035, allocations: 4 kB / 1.225 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002095/0.7056, allocations: 1.245 MB / 1.226 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.7057, allocations: 8 kB / 1.226 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.7057, allocations: 7.938 kB / 1.226 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006318/0.7063, allocations: 261.6 kB / 1.226 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.7068, allocations: 135.8 kB / 1.226 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004345/0.7112, allocations: 4.75 MB / 1.231 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005559/0.7117, allocations: 111.2 kB / 1.231 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/0.7118, allocations: 24 kB / 1.231 GB, free: 6.125 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.0006418/0.7124, allocations: 0.6147 MB / 1.232 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.7126, allocations: 209.4 kB / 1.232 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/0.713, allocations: 261.1 kB / 1.232 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.713, allocations: 11.94 kB / 1.232 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.713, allocations: 4 kB / 1.232 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.713, allocations: 3.984 kB / 1.232 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003274/0.7163, allocations: 2.42 MB / 1.234 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.7163, allocations: 0 / 1.234 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/0.7166, allocations: 67.89 kB / 1.234 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005556/0.7172, allocations: 255.8 kB / 1.235 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.191e-05/0.7172, allocations: 31.92 kB / 1.235 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004222/0.7215, allocations: 4.734 MB / 1.239 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.7215, allocations: 3.984 kB / 1.239 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002455/0.7239, allocations: 1.633 MB / 1.241 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000337/0.7243, allocations: 318.2 kB / 1.241 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.7244, allocations: 19.98 kB / 1.241 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004225/0.7249, allocations: 39.97 kB / 1.241 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.725, allocations: 76.55 kB / 1.241 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.104e-05/0.7251, allocations: 23.98 kB / 1.241 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002205/0.7273, allocations: 2.46 MB / 1.244 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7273, allocations: 3.938 kB / 1.244 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007395/0.728, allocations: 303.5 kB / 1.244 GB, free: 8.238 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.003658/0.7317, allocations: 2.582 MB / 1.247 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002075/0.7338, allocations: 1.195 MB / 1.248 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7338, allocations: 0 / 1.248 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009827/0.7348, allocations: 0.7067 MB / 1.248 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.736, allocations: 291.7 kB / 1.249 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3945/1.13, allocations: 16.02 MB / 1.264 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/1.132, allocations: 1.556 MB / 1.266 GB, free: 225.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004697/1.132, allocations: 161.4 kB / 1.266 GB, free: 225.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005634/1.133, allocations: 0.7458 MB / 1.267 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.342e-06/1.133, allocations: 0 / 1.267 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8165/1.949, allocations: 33.58 MB / 1.3 GB, free: 202.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/12.91, allocations: 0 / 1.3 GB, free: 202.1 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)