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.284/2.284, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001124/0.001124, allocations: 184.8 kB / 487.4 MB, free: 5.043 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.586/1.586, allocations: 221.5 MB / 0.7824 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 103 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.002e-05/3.037e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.299, allocations: 142.4 MB / 1.206 GB, free: 43.76 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.354, allocations: 150.1 MB / 1.353 GB, free: 18.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/1.354, allocations: 80.47 kB / 1.353 GB, free: 18.21 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0167/1.371, allocations: 7.113 MB / 1.36 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.583e-06/1.371, allocations: 0 / 1.36 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.063e-05/1.371, allocations: 18.59 kB / 1.36 GB, free: 33.48 MB / 0.8386 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.001038/1.372, allocations: 0.7079 MB / 1.36 GB, free: 33 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/1.372, allocations: 15.47 kB / 1.36 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/1.372, allocations: 70 kB / 1.361 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000727/1.373, allocations: 492.2 kB / 1.361 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/1.373, allocations: 15.41 kB / 1.361 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/1.373, allocations: 30.81 kB / 1.361 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00055/1.373, allocations: 353.5 kB / 1.361 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005843/1.374, allocations: 370.3 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/1.374, allocations: 3.938 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.643e-05/1.374, allocations: 3.938 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/1.374, allocations: 15.53 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/1.376, allocations: 1.378 MB / 1.363 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/1.376, allocations: 141.9 kB / 1.363 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.269e-05/1.376, allocations: 64.58 kB / 1.363 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/1.376, allocations: 0 / 1.363 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/1.376, allocations: 41.91 kB / 1.363 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 1.232e-06/1.376, allocations: 0 / 1.363 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0003043/1.377, allocations: 158 kB / 1.363 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/1.377, allocations: 55.28 kB / 1.364 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/1.377, allocations: 356.5 kB / 1.364 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/1.377, allocations: 25.7 kB / 1.364 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/1.377, allocations: 338.1 kB / 1.364 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/1.377, allocations: 59.7 kB / 1.364 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.317e-05/1.377, allocations: 0 / 1.364 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.378, allocations: 352.4 kB / 1.365 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/1.378, allocations: 76.16 kB / 1.365 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/1.378, allocations: 179.2 kB / 1.365 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/1.378, allocations: 106.4 kB / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.378, allocations: 0 / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003798/1.378, allocations: 301.3 kB / 1.365 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/1.378, allocations: 9.406 kB / 1.365 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.378, allocations: 7.203 kB / 1.365 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/1.379, allocations: 7.844 kB / 1.365 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/1.379, allocations: 81.84 kB / 1.365 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/1.379, allocations: 10.5 kB / 1.365 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/1.379, allocations: 48.3 kB / 1.365 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/1.379, allocations: 22.73 kB / 1.365 GB, free: 31.09 MB / 0.8386 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 () * 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 9.128e-05/1.379, allocations: 116.7 kB / 1.366 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002083/1.379, allocations: 166.9 kB / 1.366 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/1.379, allocations: 34.91 kB / 1.366 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003089/1.38, allocations: 196.2 kB / 1.366 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/1.38, allocations: 11.88 kB / 1.366 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/1.38, allocations: 0 / 1.366 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.38, allocations: 3 kB / 1.366 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008284/1.381, allocations: 0.6953 MB / 1.367 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.381, allocations: 7.781 kB / 1.367 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/1.381, allocations: 54.75 kB / 1.367 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/1.381, allocations: 0 / 1.367 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/1.381, allocations: 3.844 kB / 1.367 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/1.381, allocations: 7.797 kB / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.381, allocations: 7.875 kB / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/1.381, allocations: 387 kB / 1.367 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.101e-05/1.381, allocations: 118.5 kB / 1.367 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/1.381, allocations: 10.77 kB / 1.367 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/1.382, allocations: 22.28 kB / 1.367 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/1.382, allocations: 21.72 kB / 1.367 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/1.382, allocations: 10.02 kB / 1.367 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002129/1.382, allocations: 248.9 kB / 1.367 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/1.382, allocations: 0 / 1.367 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003464/1.382, allocations: 89.47 kB / 1.368 GB, free: 29.93 MB / 0.8386 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 () * 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.0007356/1.383, allocations: 1.34 MB / 1.369 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003058/1.383, allocations: 195.1 kB / 1.369 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.383, allocations: 0 / 1.369 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/1.383, allocations: 76.95 kB / 1.369 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006904/1.384, allocations: 172.5 kB / 1.369 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/1.385, allocations: 0.5856 MB / 1.37 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/1.386, allocations: 0.8521 MB / 1.371 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002136/1.386, allocations: 46.05 kB / 1.371 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/1.386, allocations: 173.6 kB / 1.371 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.386, allocations: 0 / 1.371 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/1.411, allocations: 6.933 MB / 1.378 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/1.411, allocations: 225.8 kB / 1.378 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.032/3.443, allocations: 0.6875 kB / 1.378 GB, free: 26.77 MB / 0.8386 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