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/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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.408/2.408, allocations: 390.3 MB / 0.6653 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.000374, allocations: 8 kB / 0.8147 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7168/0.7172, allocations: 142.3 MB / 0.9537 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow): time 0.002213/0.7195, allocations: 1.78 MB / 0.9554 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001959/0.7215, allocations: 1.394 MB / 0.9568 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003243/0.7218, allocations: 15 kB / 0.9568 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.72e-05/0.7219, allocations: 39.52 kB / 0.9568 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.7222, allocations: 89.53 kB / 0.9569 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.7226, allocations: 172.3 kB / 0.9571 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000518/0.7231, allocations: 457.1 kB / 0.9575 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003965/0.7235, allocations: 284.8 kB / 0.9578 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.7237, allocations: 193.7 kB / 0.958 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.7239, allocations: 222.5 kB / 0.9582 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.036e-05/0.724, allocations: 19.38 kB / 0.9582 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.3e-05/0.724, allocations: 21.03 kB / 0.9582 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.601e-05/0.7241, allocations: 91.59 kB / 0.9583 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.86e-05/0.7242, allocations: 128 kB / 0.9584 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000538/0.7247, allocations: 0.8632 MB / 0.9593 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.7247, allocations: 0 / 0.9593 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7248, allocations: 0 / 0.9593 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.7248, allocations: 0 / 0.9593 GB, free: 3.617 MB / 0.7169 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.001308/0.7261, allocations: 0.8447 MB / 0.9601 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.7261, allocations: 9.469 kB / 0.9601 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001056/0.7262, allocations: 108 kB / 0.9602 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.7264, allocations: 83.78 kB / 0.9603 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008533/0.7272, allocations: 0.5498 MB / 0.9608 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.545e-05/0.7273, allocations: 46.94 kB / 0.9609 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.7e-05/0.7274, allocations: 68.31 kB / 0.9609 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00099/0.7284, allocations: 0.5322 MB / 0.9615 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.7284, allocations: 0 / 0.9615 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.59e-05/0.7285, allocations: 26.34 kB / 0.9615 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.7285, allocations: 14.88 kB / 0.9615 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009369/0.7294, allocations: 488.7 kB / 0.962 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/0.7319, allocations: 1.776 MB / 0.9637 GB, free: 308 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004838/0.7324, allocations: 204.2 kB / 0.9639 GB, free: 200 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.7324, allocations: 3.281 kB / 0.9639 GB, free: 200 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.7325, allocations: 36.62 kB / 0.9639 GB, free: 156 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 1.914e-06/0.7325, allocations: 0 / 0.9639 GB, free: 156 kB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.0009116/0.7334, allocations: 349.6 kB / 0.9643 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.7334, allocations: 57.69 kB / 0.9643 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007065/0.7341, allocations: 0.5659 MB / 0.9649 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.7342, allocations: 31.67 kB / 0.9649 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/0.7345, allocations: 375.4 kB / 0.9653 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.205e-05/0.7346, allocations: 80.5 kB / 0.9653 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/0.7346, allocations: 11.53 kB / 0.9654 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.7349, allocations: 365.4 kB / 0.9657 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.7352, allocations: 122.3 kB / 0.9658 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005437/0.7357, allocations: 367.6 kB / 0.9662 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004239/0.7361, allocations: 180.3 kB / 0.9663 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.7362, allocations: 2.062 kB / 0.9663 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001287/0.7374, allocations: 0.5431 MB / 0.9669 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.7375, allocations: 8.375 kB / 0.9669 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.7375, allocations: 8.375 kB / 0.9669 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.516e-05/0.7376, allocations: 16.36 kB / 0.9669 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004653/0.738, allocations: 113.4 kB / 0.967 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.84e-05/0.7381, allocations: 19.23 kB / 0.967 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004908/0.7386, allocations: 87.16 kB / 0.9671 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/0.7386, allocations: 25.97 kB / 0.9671 GB, free: 13.86 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.damLim.noZerMin.greHys.y,damLim.and3.y,damLim.not1.u,damLim1.and3.y,damLim1.not1.u,operationMode.y,freProSta.y,fanStatus.y,damLim1.conInt1.y,damLim1.conInt.y,damLim.conInt1.y,damLim.conInt.y,damLim.intLesEqu.y,damLim.intEqu1.y,damLim1.intLesEqu.y,damLim1.intEqu1.y,damLim1.not1.y,$PRE.damLim1.noZerMin.greHys.y,damLim1.noZerMin.greHys.y,damLim.not1.y,damLim.noZerMin.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * 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.0003943/0.739, allocations: 204.4 kB / 0.9673 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.7392, allocations: 51.75 kB / 0.9674 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007656/0.7399, allocations: 299.5 kB / 0.9677 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.7399, allocations: 2.875 kB / 0.9677 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.74, allocations: 0 / 0.9677 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.74, allocations: 0.9688 kB / 0.9677 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.7415, allocations: 0.9281 MB / 0.9686 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.7416, allocations: 1.969 kB / 0.9686 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.7418, allocations: 52.11 kB / 0.9686 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.7418, allocations: 6.719 kB / 0.9686 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.7418, allocations: 11.47 kB / 0.9686 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.7419, allocations: 10.2 kB / 0.9687 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.7419, allocations: 1.812 kB / 0.9687 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007923/0.7427, allocations: 482.2 kB / 0.9691 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/0.7429, allocations: 146.8 kB / 0.9693 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.592e-05/0.7429, allocations: 4 kB / 0.9693 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.7432, allocations: 29.19 kB / 0.9693 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.733e-05/0.7432, allocations: 22.09 kB / 0.9693 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.7433, allocations: 6.594 kB / 0.9693 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005474/0.7438, allocations: 368.9 kB / 0.9697 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7438, allocations: 1.438 kB / 0.9697 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005925/0.7444, allocations: 101.9 kB / 0.9698 GB, free: 11.9 MB / 0.7325 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.001208/0.7457, allocations: 1.457 MB / 0.9712 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008121/0.7465, allocations: 333.8 kB / 0.9715 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7465, allocations: 1.344 kB / 0.9715 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.7468, allocations: 114.6 kB / 0.9716 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008413/0.7476, allocations: 192.8 kB / 0.9718 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007757/0.7554, allocations: 8.41 MB / 0.98 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/0.756, allocations: 0.8782 MB / 0.9809 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003319/0.7563, allocations: 74.41 kB / 0.9809 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/0.7566, allocations: 215.7 kB / 0.9812 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of SimCode: time 3.186e-06/0.7566, allocations: 1.031 kB / 0.9812 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/0.7832, allocations: 9.81 MB / 0.9907 GB, free: 9.605 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002509/0.7835, allocations: 253.2 kB / 0.991 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.672, allocations: 0 / 0.991 GB, free: 9.27 MB / 0.7481 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