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.0009635/0.0009635, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.000937/0.000937, allocations: 172.7 kB / 15.95 MB, free: 204 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.421/1.421, allocations: 223.3 MB / 240 MB, free: 5.445 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.5/2.5, allocations: 390.4 MB / 0.6655 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003567, allocations: 8 kB / 0.815 GB, free: 14.05 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8192/0.8195, allocations: 142.3 MB / 0.9539 GB, free: 8.113 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.002663/0.8223, allocations: 1.769 MB / 0.9557 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00224/0.8245, allocations: 1.378 MB / 0.957 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000338/0.8249, allocations: 15.34 kB / 0.957 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.8251, allocations: 45.02 kB / 0.9571 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.8253, allocations: 70.7 kB / 0.9571 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.8257, allocations: 170.1 kB / 0.9573 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006876/0.8264, allocations: 0.6982 MB / 0.958 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004477/0.8268, allocations: 285.2 kB / 0.9583 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002193/0.8271, allocations: 184.7 kB / 0.9584 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.8273, allocations: 226.7 kB / 0.9587 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.469e-05/0.8274, allocations: 23.25 kB / 0.9587 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.011e-05/0.8274, allocations: 20.66 kB / 0.9587 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.971e-05/0.8275, allocations: 91.48 kB / 0.9588 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.64e-05/0.8276, allocations: 127 kB / 0.9589 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000588/0.8282, allocations: 0.8597 MB / 0.9597 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.8282, allocations: 0 / 0.9597 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.805e-06/0.8282, allocations: 4 kB / 0.9597 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.948e-06/0.8282, allocations: 1.312 kB / 0.9597 GB, free: 3.52 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.001274/0.8295, allocations: 0.8481 MB / 0.9606 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.8296, allocations: 9.625 kB / 0.9606 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.8297, allocations: 107.1 kB / 0.9607 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.8298, allocations: 81.52 kB / 0.9608 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008279/0.8307, allocations: 0.5477 MB / 0.9613 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.807e-05/0.8307, allocations: 48.19 kB / 0.9613 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-05/0.8308, allocations: 60.44 kB / 0.9614 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.8319, allocations: 0.5409 MB / 0.9619 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.8319, allocations: 0 / 0.9619 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-05/0.832, allocations: 26.47 kB / 0.962 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/0.832, allocations: 14.47 kB / 0.962 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009866/0.833, allocations: 492.5 kB / 0.9624 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002618/0.8356, allocations: 1.776 MB / 0.9642 GB, free: 208 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005306/0.8362, allocations: 199.1 kB / 0.9644 GB, free: 108 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/0.8365, allocations: 123 kB / 0.9645 GB, free: 44 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.8365, allocations: 3.719 kB / 0.9645 GB, free: 44 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.8365, allocations: 38.34 kB / 0.9645 GB, free: 0 / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 1.944e-06/0.8365, allocations: 0 / 0.9645 GB, free: 0 / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.000882/0.8374, allocations: 345.9 kB / 0.9649 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.8375, allocations: 61.55 kB / 0.9649 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007139/0.8382, allocations: 0.5547 MB / 0.9655 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.8382, allocations: 34.81 kB / 0.9655 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/0.8386, allocations: 368.8 kB / 0.9658 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.036e-05/0.8386, allocations: 77.62 kB / 0.9659 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.965e-05/0.8387, allocations: 15.38 kB / 0.9659 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.8388, allocations: 366 kB / 0.9663 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003043/0.8391, allocations: 127.2 kB / 0.9664 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000475/0.8396, allocations: 369.7 kB / 0.9667 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003886/0.84, allocations: 179.5 kB / 0.9669 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.84, allocations: 2.031 kB / 0.9669 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001055/0.8411, allocations: 0.5471 MB / 0.9675 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.8411, allocations: 12.28 kB / 0.9675 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.8412, allocations: 8.25 kB / 0.9675 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.41e-05/0.8412, allocations: 13 kB / 0.9675 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004051/0.8416, allocations: 109.6 kB / 0.9676 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.418e-05/0.8417, allocations: 15.28 kB / 0.9676 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003957/0.8421, allocations: 94.23 kB / 0.9677 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.777e-05/0.8421, allocations: 26.41 kB / 0.9677 GB, free: 13.71 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.0003041/0.8424, allocations: 200.1 kB / 0.9679 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.211e-05/0.8425, allocations: 51.16 kB / 0.968 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007227/0.8432, allocations: 303.2 kB / 0.9682 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.8433, allocations: 3.312 kB / 0.9683 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.8433, allocations: 4 kB / 0.9683 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.8433, allocations: 3.984 kB / 0.9683 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.8449, allocations: 0.9215 MB / 0.9692 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.845, allocations: 5.953 kB / 0.9692 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.8452, allocations: 55.34 kB / 0.9692 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-06/0.8452, allocations: 3.312 kB / 0.9692 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.8452, allocations: 7.406 kB / 0.9692 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.8452, allocations: 2.375 kB / 0.9692 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.8453, allocations: 2.25 kB / 0.9692 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007237/0.846, allocations: 419.4 kB / 0.9696 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.8462, allocations: 147.1 kB / 0.9698 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.048e-05/0.8462, allocations: 8.062 kB / 0.9698 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.8465, allocations: 24.64 kB / 0.9698 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.159e-05/0.8466, allocations: 26.14 kB / 0.9698 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.8466, allocations: 11.06 kB / 0.9698 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005966/0.8472, allocations: 369.4 kB / 0.9702 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8472, allocations: 0 / 0.9702 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006816/0.8479, allocations: 98.56 kB / 0.9703 GB, free: 11.85 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.001172/0.8491, allocations: 0.9748 MB / 0.9712 GB, free: 11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008607/0.8499, allocations: 333.6 kB / 0.9716 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.8499, allocations: 0 / 0.9716 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002897/0.8502, allocations: 122.4 kB / 0.9717 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009035/0.8512, allocations: 182.6 kB / 0.9718 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005944/0.8571, allocations: 3.013 MB / 0.9748 GB, free: 8.652 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.8577, allocations: 0.8695 MB / 0.9756 GB, free: 7.871 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003556/0.858, allocations: 77.45 kB / 0.9757 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.8583, allocations: 217.7 kB / 0.9759 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of SimCode: time 8.82e-07/0.8583, allocations: 0 / 0.9759 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.8817, allocations: 9.815 MB / 0.9855 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/0.8819, allocations: 256.1 kB / 0.9857 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.78, allocations: 0 / 0.9857 GB, free: 14.98 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