Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.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.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow",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.226/2.226, 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.001035/0.001035, allocations: 177 kB / 498.1 MB, free: 5.742 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.595/1.595, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.0009928/0.0009927, allocations: 96.27 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003651, allocations: 7.094 kB / 1.084 GB, free: 221.7 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2825, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1797/0.4622, allocations: 151 MB / 1.37 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.4625, allocations: 79.94 kB / 1.371 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02115/0.4837, allocations: 8.403 MB / 1.379 GB, free: 2.375 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.729e-06/0.4837, allocations: 0 / 1.379 GB, free: 2.375 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.851e-05/0.4838, allocations: 15.94 kB / 1.379 GB, free: 2.359 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.001857/0.4857, allocations: 0.8805 MB / 1.38 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.4857, allocations: 8.031 kB / 1.38 GB, free: 1.422 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002596/0.486, allocations: 102.5 kB / 1.38 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002353/0.4862, allocations: 83.05 kB / 1.38 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.4875, allocations: 0.5639 MB / 1.38 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.775e-05/0.4875, allocations: 45.31 kB / 1.38 GB, free: 0.5781 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.946e-05/0.4876, allocations: 64 kB / 1.38 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.4887, allocations: 0.5453 MB / 1.381 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.4887, allocations: 3.984 kB / 1.381 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.944e-05/0.4888, allocations: 24 kB / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.4888, allocations: 16 kB / 1.381 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009363/0.4897, allocations: 493 kB / 1.382 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002848/0.4926, allocations: 1.703 MB / 1.383 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000626/0.4932, allocations: 231.4 kB / 1.383 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.4933, allocations: 192 / 1.383 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.4933, allocations: 38.75 kB / 1.383 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=22): time 1.693e-06/0.4933, allocations: 0 / 1.383 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=22): time 0.0008923/0.4942, allocations: 373.3 kB / 1.384 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.4943, allocations: 51.41 kB / 1.384 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006/0.4949, allocations: 0.5577 MB / 1.384 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.257e-05/0.4949, allocations: 33.7 kB / 1.384 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.4952, allocations: 355.4 kB / 1.385 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.901e-05/0.4952, allocations: 78.98 kB / 1.385 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.681e-05/0.4953, allocations: 4 kB / 1.385 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.4954, allocations: 378.7 kB / 1.385 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/0.4957, allocations: 136.8 kB / 1.385 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.4961, allocations: 262.4 kB / 1.386 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.4965, allocations: 161.8 kB / 1.386 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4965, allocations: 0 / 1.386 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000841/0.4973, allocations: 466.9 kB / 1.386 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.4974, allocations: 12.38 kB / 1.386 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4974, allocations: 8 kB / 1.386 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.4974, allocations: 4 kB / 1.386 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/0.4977, allocations: 87.89 kB / 1.386 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.4978, allocations: 11.94 kB / 1.386 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003636/0.4981, allocations: 79.31 kB / 1.386 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.4982, allocations: 20 kB / 1.386 GB, free: 10.27 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.damLim.noZerMin.greHys.y,$PRE.damLim1.noZerMin.greHys.y,damLim1.noZerMin.greHys.y,damLim1.and3.y,damLim1.and3.u3,damLim1.and3.u2,damLim.and3.y,damLim.noZerMin.greHys.y,damLim.and3.u3,damLim.and3.u2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * 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.0002163/0.4984, allocations: 193.5 kB / 1.387 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.859e-05/0.4985, allocations: 55.25 kB / 1.387 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006877/0.4992, allocations: 318.7 kB / 1.387 GB, free: 9.695 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.4992, allocations: 8 kB / 1.387 GB, free: 9.688 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4992, allocations: 0 / 1.387 GB, free: 9.688 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4992, allocations: 0 / 1.387 GB, free: 9.688 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.5005, allocations: 0.9439 MB / 1.388 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.5006, allocations: 8.188 kB / 1.388 GB, free: 8.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.5008, allocations: 51.91 kB / 1.388 GB, free: 8.609 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.5008, allocations: 7.938 kB / 1.388 GB, free: 8.602 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.5008, allocations: 11.95 kB / 1.388 GB, free: 8.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.5008, allocations: 3.938 kB / 1.388 GB, free: 8.586 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.5008, allocations: 4 kB / 1.388 GB, free: 8.582 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006708/0.5015, allocations: 0.504 MB / 1.388 GB, free: 8.008 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.5017, allocations: 148.3 kB / 1.389 GB, free: 7.844 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.61e-05/0.5017, allocations: 11.95 kB / 1.389 GB, free: 7.832 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.502, allocations: 23.98 kB / 1.389 GB, free: 7.809 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.5021, allocations: 31.95 kB / 1.389 GB, free: 7.777 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.5021, allocations: 8 kB / 1.389 GB, free: 7.77 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004723/0.5026, allocations: 423.1 kB / 1.389 GB, free: 7.359 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5026, allocations: 0 / 1.389 GB, free: 7.359 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004348/0.503, allocations: 95.84 kB / 1.389 GB, free: 7.266 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (damLim1.noZerMin.greHys.y) * Number of discrete states: 1 (damLim1.noZerMin.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001202/0.5042, allocations: 1.468 MB / 1.391 GB, free: 5.73 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007346/0.505, allocations: 314.6 kB / 1.391 GB, free: 5.426 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.505, allocations: 0 / 1.391 GB, free: 5.426 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002831/0.5053, allocations: 137.8 kB / 1.391 GB, free: 5.293 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007936/0.5061, allocations: 199.6 kB / 1.391 GB, free: 5.102 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0055/0.5116, allocations: 5.346 MB / 1.396 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.512, allocations: 0.8788 MB / 1.397 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003026/0.5123, allocations: 72.91 kB / 1.397 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/0.5126, allocations: 215.4 kB / 1.398 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of SimCode: time 5.41e-06/0.5126, allocations: 7.938 kB / 1.398 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.5371, allocations: 10.26 MB / 1.408 GB, free: 4.449 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.5373, allocations: 256.2 kB / 1.408 GB, free: 4.109 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.406/2.943, allocations: 0 / 1.408 GB, free: 4.109 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow_res.mat does not exist to compare? outputFormat=mat