Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_Title24_Validation_Setpoints",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_Title24_Validation_Setpoints",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.331/2.331, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 185 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.2 MB / 0.7948 GB, free: 17.99 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000902/0.000902, allocations: 94.08 kB / 0.9346 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.0004666, allocations: 9.719 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2802, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1816/0.4618, allocations: 152.6 MB / 1.372 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.4621, allocations: 75.95 kB / 1.372 GB, free: 9.332 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05509/0.5172, allocations: 22.27 MB / 1.394 GB, free: 3.031 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.464e-06/0.5172, allocations: 0 / 1.394 GB, free: 3.031 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001494/0.5174, allocations: 43.98 kB / 1.394 GB, free: 2.988 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.003684/0.5211, allocations: 1.58 MB / 1.395 GB, free: 1.336 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.5211, allocations: 12.03 kB / 1.395 GB, free: 1.324 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005123/0.5217, allocations: 240.6 kB / 1.396 GB, free: 1.078 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004969/0.5222, allocations: 197.6 kB / 1.396 GB, free: 0.8828 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.5236, allocations: 0.7513 MB / 1.397 GB, free: 88 kB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.5238, allocations: 139.4 kB / 1.397 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.5241, allocations: 164 kB / 1.397 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003314/0.5274, allocations: 1.579 MB / 1.398 GB, free: 14.13 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/0.5275, allocations: 4 kB / 1.398 GB, free: 14.13 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/0.5276, allocations: 72 kB / 1.398 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.089e-05/0.5277, allocations: 40 kB / 1.399 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002517/0.5302, allocations: 1.2 MB / 1.4 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008161/0.5383, allocations: 5.615 MB / 1.405 GB, free: 7.047 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.5399, allocations: 0.6488 MB / 1.406 GB, free: 6.363 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.841e-05/0.54, allocations: 8.438 kB / 1.406 GB, free: 6.355 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009526/0.5409, allocations: 488.7 kB / 1.406 GB, free: 5.824 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=70): time 3.337e-06/0.5409, allocations: 0 / 1.406 GB, free: 5.824 MB / 0.9011 GB Notification: Performance of matching and sorting (n=70): time 0.00226/0.5432, allocations: 0.9761 MB / 1.407 GB, free: 4.84 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001901/0.5434, allocations: 401.5 kB / 1.408 GB, free: 4.355 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/0.5455, allocations: 1.201 MB / 1.409 GB, free: 3.148 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.5456, allocations: 41.7 kB / 1.409 GB, free: 3.102 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007302/0.5464, allocations: 0.7194 MB / 1.41 GB, free: 2.371 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.00025/0.5466, allocations: 224.9 kB / 1.41 GB, free: 2.148 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.479e-05/0.5467, allocations: 20 kB / 1.41 GB, free: 2.129 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.5469, allocations: 349.9 kB / 1.41 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009452/0.5479, allocations: 357.8 kB / 1.41 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.549, allocations: 0.5001 MB / 1.411 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.5501, allocations: 429.4 kB / 1.411 GB, free: 460 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.5501, allocations: 4 kB / 1.411 GB, free: 456 kB / 0.9011 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002737/0.5528, allocations: 1.129 MB / 1.412 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.553, allocations: 71.39 kB / 1.412 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.553, allocations: 0 / 1.412 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.336e-05/0.5531, allocations: 8 kB / 1.413 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008386/0.5539, allocations: 191.7 kB / 1.413 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.694e-05/0.5539, allocations: 4.625 kB / 1.413 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.5553, allocations: 242.3 kB / 1.413 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.5555, allocations: 39.98 kB / 1.413 GB, free: 14.74 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,winSenZon.havCO2Sen.y,$PRE.winSta.y,winSta.y,occSenZon.havCO2Sen.y,$PRE.occSta.y,occSta.y,co2SenSZVAV.havCO2Sen.y,co2SenZon.havCO2Sen.y,co2SenZon.booToRea.u,co2SenZonParFan.uZonSta,co2SenZonParFan.booToRea.u,co2SenZonParFan.inCooSta.y,co2SenSZVAV.booToRea.u,booToInt.u,booToInt.y,noSenZon.havCO2Sen.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001183/0.5567, allocations: 294 kB / 1.413 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004798/0.5572, allocations: 142.5 kB / 1.413 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.5591, allocations: 0.6307 MB / 1.414 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/0.5591, allocations: 12 kB / 1.414 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-05/0.5591, allocations: 3.984 kB / 1.414 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/0.5592, allocations: 11.98 kB / 1.414 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005645/0.5648, allocations: 2.475 MB / 1.416 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/0.5649, allocations: 8.062 kB / 1.416 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006101/0.5655, allocations: 140.3 kB / 1.417 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-05/0.5655, allocations: 12 kB / 1.417 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-05/0.5656, allocations: 23.95 kB / 1.417 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.477e-05/0.5656, allocations: 8 kB / 1.417 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/0.5657, allocations: 7.938 kB / 1.417 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/0.568, allocations: 1.268 MB / 1.418 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005133/0.5685, allocations: 262.9 kB / 1.418 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.5687, allocations: 23.98 kB / 1.418 GB, free: 9.055 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005931/0.5693, allocations: 67.95 kB / 1.418 GB, free: 8.988 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.5695, allocations: 75.8 kB / 1.418 GB, free: 8.914 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-05/0.5696, allocations: 24 kB / 1.418 GB, free: 8.891 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001732/0.5713, allocations: 0.9076 MB / 1.419 GB, free: 7.984 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.61e-07/0.5714, allocations: 4 kB / 1.419 GB, free: 7.98 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001256/0.5726, allocations: 263.4 kB / 1.419 GB, free: 7.723 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 13 (co2SenZon.booToRea.u,co2SenZonParFan.uZonSta,co2SenZonParFan.booToRea.u,co2SenZonParFan.inCooSta.y,co2SenSZVAV.booToRea.u,booToInt.u,booToInt.y,$whenCondition1,$whenCondition2,occSta.y,$whenCondition3,$whenCondition4,winSta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003132/0.5758, allocations: 3.119 MB / 1.422 GB, free: 4.449 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002022/0.5778, allocations: 0.924 MB / 1.423 GB, free: 3.496 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.5778, allocations: 0 / 1.423 GB, free: 3.496 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008803/0.5787, allocations: 421 kB / 1.424 GB, free: 3.086 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000706/0.5794, allocations: 121.3 kB / 1.424 GB, free: 2.969 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5194/1.099, allocations: 5.544 MB / 1.429 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008634/1.1, allocations: 1.2 MB / 1.43 GB, free: 181.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006376/1.1, allocations: 141.9 kB / 1.431 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006785/1.101, allocations: 0.5624 MB / 1.431 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of SimCode: time 1.803e-06/1.101, allocations: 0 / 1.431 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06058/1.162, allocations: 20.58 MB / 1.451 GB, free: 180.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/1.162, allocations: 213.2 kB / 1.451 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.723/3.885, allocations: 2.391 kB / 1.451 GB, free: 180.1 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_Title24_Validation_Setpoints_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_Title24_Validation_Setpoints.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints_res.mat does not exist to compare? outputFormat=mat