Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008333/0.008333, allocations: 99.72 kB / 15.73 MB, free: 6.492 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.00195/0.00195, allocations: 201.5 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.553/2.553, allocations: 437 MB / 0.7105 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 59.91 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2953, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow): time 0.00339/0.2987, allocations: 2.306 MB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002136/0.3009, allocations: 1.443 MB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003791/0.3013, allocations: 15.94 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.3016, allocations: 78.94 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.3019, allocations: 123 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004703/0.3024, allocations: 299.6 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006927/0.3031, allocations: 0.801 MB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004944/0.3036, allocations: 394.2 kB / 1.172 GB, free: 1.832 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.3038, allocations: 298.7 kB / 1.172 GB, free: 1.539 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.3041, allocations: 338.2 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.752e-05/0.3042, allocations: 84 kB / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.021e-05/0.3043, allocations: 84 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.3044, allocations: 179.4 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00025/0.3047, allocations: 354 kB / 1.173 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0009554/0.3056, allocations: 1.124 MB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3057, allocations: 0 / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3057, allocations: 0 / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.3057, allocations: 0 / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001565/0.3072, allocations: 0.9812 MB / 1.175 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.3073, allocations: 12.03 kB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.3074, allocations: 110.7 kB / 1.175 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.3075, allocations: 84.42 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009833/0.3085, allocations: 0.5771 MB / 1.176 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.949e-05/0.3086, allocations: 45.69 kB / 1.176 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.307e-05/0.3087, allocations: 64.38 kB / 1.176 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009783/0.3096, allocations: 0.542 MB / 1.176 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.3097, allocations: 11.88 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.284e-05/0.3097, allocations: 28 kB / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.3098, allocations: 16 kB / 1.176 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000968/0.3107, allocations: 477 kB / 1.177 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/0.3134, allocations: 1.872 MB / 1.179 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005847/0.314, allocations: 206.8 kB / 1.179 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/0.3143, allocations: 96.8 kB / 1.179 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.3143, allocations: 11.94 kB / 1.179 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.3143, allocations: 38.56 kB / 1.179 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=22): time 1.432e-06/0.3143, allocations: 0 / 1.179 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22): time 0.0008309/0.3152, allocations: 331.4 kB / 1.179 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.3152, allocations: 59.41 kB / 1.179 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006026/0.3158, allocations: 0.577 MB / 1.18 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.3159, allocations: 29.7 kB / 1.18 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.3161, allocations: 387.7 kB / 1.18 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.194e-05/0.3162, allocations: 91.25 kB / 1.18 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.3164, allocations: 122.1 kB / 1.18 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3165, allocations: 366.8 kB / 1.181 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/0.3168, allocations: 129 kB / 1.181 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004685/0.3173, allocations: 396.5 kB / 1.181 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007712/0.3181, allocations: 0.5362 MB / 1.182 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.3181, allocations: 4 kB / 1.182 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001007/0.3191, allocations: 0.5644 MB / 1.182 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3192, allocations: 12 kB / 1.182 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.3192, allocations: 8.719 kB / 1.182 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.3192, allocations: 12 kB / 1.182 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.3196, allocations: 119.8 kB / 1.183 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/0.3196, allocations: 15.94 kB / 1.183 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003947/0.32, allocations: 87.44 kB / 1.183 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.3201, allocations: 28 kB / 1.183 GB, free: 5.867 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.damLim.noZerMin.greHys.y,damLim1.and1.y,damLim.and1.y,damLim.and2.u2,damLim1.and2.u2,damLim.and2.y,damLim.not1.u,damLim1.and2.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.and1.u2,damLim1.intLesEqu.y,damLim1.and1.u2,damLim1.not1.y,damLim1.noZerMin.greHys.y,$PRE.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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002276/0.3203, allocations: 215.7 kB / 1.183 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.998e-05/0.3204, allocations: 59.62 kB / 1.183 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006654/0.3211, allocations: 292.9 kB / 1.183 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.3211, allocations: 4 kB / 1.183 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3211, allocations: 0 / 1.183 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3211, allocations: 0 / 1.183 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.3224, allocations: 0.8819 MB / 1.184 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3224, allocations: 0 / 1.184 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.3226, allocations: 55.91 kB / 1.184 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3227, allocations: 0 / 1.184 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.3227, allocations: 11.92 kB / 1.184 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3227, allocations: 4 kB / 1.184 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3227, allocations: 3.938 kB / 1.184 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006197/0.3233, allocations: 410.4 kB / 1.185 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.3235, allocations: 140.7 kB / 1.185 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.728e-05/0.3235, allocations: 15.92 kB / 1.185 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.3238, allocations: 15.98 kB / 1.185 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.3238, allocations: 27.91 kB / 1.185 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.3239, allocations: 12 kB / 1.185 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004043/0.3243, allocations: 378.8 kB / 1.185 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3243, allocations: 4 kB / 1.185 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004667/0.3248, allocations: 103.7 kB / 1.185 GB, free: 3.129 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009175/0.3257, allocations: 0.9559 MB / 1.186 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006928/0.3264, allocations: 340 kB / 1.186 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3264, allocations: 0 / 1.186 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002794/0.3267, allocations: 111.8 kB / 1.187 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008576/0.3275, allocations: 189.5 kB / 1.187 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005351/0.3329, allocations: 4.427 MB / 1.191 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.3333, allocations: 0.8704 MB / 1.192 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002556/0.3336, allocations: 80.92 kB / 1.192 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/0.3339, allocations: 223.4 kB / 1.192 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of SimCode: time 2.7e-07/0.3339, allocations: 0 / 1.192 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.3595, allocations: 9.674 MB / 1.202 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.493/8.852, allocations: 16.62 kB / 1.202 GB, free: 2.109 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow_res.csv --start-time 0 --stop-time 1800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.72 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches