Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.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_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_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.192/2.192, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001119/0.001119, allocations: 185.8 kB / 498.1 MB, free: 5.727 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.633/1.633, allocations: 223.2 MB / 0.7948 GB, free: 17.87 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.0008842/0.0008842, allocations: 96.31 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004504/0.0004504, allocations: 11.3 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2824, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1896/0.4721, allocations: 150.8 MB / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.4724, allocations: 83.92 kB / 1.37 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01894/0.4914, allocations: 7.171 MB / 1.377 GB, free: 3.875 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4914, allocations: 4 kB / 1.377 GB, free: 3.871 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.76e-05/0.4915, allocations: 16 kB / 1.377 GB, free: 3.855 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001576/0.493, allocations: 0.7755 MB / 1.378 GB, free: 3.031 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.4931, allocations: 8.031 kB / 1.378 GB, free: 3.023 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002318/0.4933, allocations: 102.5 kB / 1.378 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.4935, allocations: 63.25 kB / 1.378 GB, free: 2.852 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009523/0.4945, allocations: 495.4 kB / 1.379 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.778e-05/0.4945, allocations: 41.31 kB / 1.379 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.569e-05/0.4946, allocations: 52 kB / 1.379 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009381/0.4956, allocations: 498.4 kB / 1.379 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.4956, allocations: 0 / 1.379 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.397e-05/0.4956, allocations: 28 kB / 1.379 GB, free: 1.715 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.4957, allocations: 12 kB / 1.379 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008848/0.4965, allocations: 457 kB / 1.38 GB, free: 1.254 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002569/0.4991, allocations: 1.52 MB / 1.381 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004712/0.4996, allocations: 182.8 kB / 1.381 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.4997, allocations: 4.344 kB / 1.381 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.4997, allocations: 38.45 kB / 1.382 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 1.944e-06/0.4997, allocations: 0 / 1.382 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.0009041/0.5006, allocations: 346.8 kB / 1.382 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.5007, allocations: 51.41 kB / 1.382 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007024/0.5014, allocations: 498.1 kB / 1.382 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.5014, allocations: 25.7 kB / 1.382 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.5017, allocations: 323.2 kB / 1.383 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.042e-05/0.5018, allocations: 67 kB / 1.383 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.741e-05/0.5018, allocations: 8 kB / 1.383 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.502, allocations: 358.8 kB / 1.383 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/0.5023, allocations: 128.7 kB / 1.383 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000364/0.5027, allocations: 218.2 kB / 1.383 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/0.503, allocations: 161.6 kB / 1.384 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.503, allocations: 0 / 1.384 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008378/0.5039, allocations: 424.5 kB / 1.384 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.5039, allocations: 10.12 kB / 1.384 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.5039, allocations: 11.95 kB / 1.384 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.504, allocations: 4 kB / 1.384 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.5043, allocations: 83.89 kB / 1.384 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.5043, allocations: 11.94 kB / 1.384 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.5047, allocations: 71.31 kB / 1.384 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.5047, allocations: 20 kB / 1.384 GB, free: 12.59 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (damLim1.and3.y,damLim1.and3.u3,damLim1.and3.u2,damLim.and3.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 (46): * Single equations (assignments): 46 * 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.0002299/0.505, allocations: 173.5 kB / 1.384 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.033e-05/0.505, allocations: 47.44 kB / 1.384 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007031/0.5058, allocations: 295 kB / 1.385 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.5058, allocations: 7.953 kB / 1.385 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.5058, allocations: 4 kB / 1.385 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.5058, allocations: 3.984 kB / 1.385 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.5071, allocations: 0.8507 MB / 1.386 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.5072, allocations: 12.12 kB / 1.386 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.5074, allocations: 55.91 kB / 1.386 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.5074, allocations: 4 kB / 1.386 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.5074, allocations: 0 / 1.386 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.5074, allocations: 4 kB / 1.386 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.5074, allocations: 7.938 kB / 1.386 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000703/0.5082, allocations: 499.5 kB / 1.386 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.5083, allocations: 128.4 kB / 1.386 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.112e-05/0.5084, allocations: 8 kB / 1.386 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.5086, allocations: 27.97 kB / 1.386 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/0.5087, allocations: 19.92 kB / 1.386 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.5087, allocations: 12 kB / 1.386 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004305/0.5092, allocations: 378.8 kB / 1.387 GB, free: 9.906 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.21e-07/0.5092, allocations: 0 / 1.387 GB, free: 9.906 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000406/0.5096, allocations: 79.84 kB / 1.387 GB, free: 9.828 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.001162/0.5108, allocations: 1.447 MB / 1.388 GB, free: 8.312 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006647/0.5115, allocations: 283.5 kB / 1.388 GB, free: 8.035 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.5115, allocations: 4 kB / 1.388 GB, free: 8.031 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002686/0.5117, allocations: 121 kB / 1.389 GB, free: 7.914 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007673/0.5125, allocations: 171.4 kB / 1.389 GB, free: 7.746 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005193/0.5177, allocations: 4.794 MB / 1.393 GB, free: 2.824 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.5182, allocations: 0.8506 MB / 1.394 GB, free: 1.945 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002639/0.5184, allocations: 64.55 kB / 1.394 GB, free: 1.883 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/0.5187, allocations: 184.3 kB / 1.394 GB, free: 1.703 MB / 0.8855 GB Notification: Performance of SimCode: time 5.71e-07/0.5187, allocations: 3.938 kB / 1.394 GB, free: 1.699 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.5425, allocations: 8.926 MB / 1.403 GB, free: 9.062 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/0.5427, allocations: 250.3 kB / 1.403 GB, free: 8.734 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.098/2.641, allocations: 0 / 1.403 GB, free: 8.734 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.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_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_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_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.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_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow_res.mat does not exist to compare? outputFormat=mat