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/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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damLim.uSupFanSpe|damLim.VOutMinSet_flow|damLim.yOutDamPosMin|damLim.yOutDamPosMax|damLim1.uSupFanSpe|damLim1.VOutMinSet_flow|damLim1.yOutDamPosMin|damLim1.yOutDamPosMax",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damLim.uSupFanSpe|damLim.VOutMinSet_flow|damLim.yOutDamPosMin|damLim.yOutDamPosMax|damLim1.uSupFanSpe|damLim1.VOutMinSet_flow|damLim1.yOutDamPosMin|damLim1.yOutDamPosMax",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01214/0.01214, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001826/0.001826, allocations: 196.2 kB / 16.67 MB, free: 5.52 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.422/2.422, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 59.91 kB / 0.9509 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.28/1.282, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow): time 0.003371/1.285, allocations: 2.015 MB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001844/1.287, allocations: 1.313 MB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002651/1.287, allocations: 9.156 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001432/1.288, allocations: 61.92 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002551/1.288, allocations: 89.98 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000442/1.288, allocations: 247.2 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007241/1.289, allocations: 0.6668 MB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005153/1.29, allocations: 336.4 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002799/1.29, allocations: 243.5 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/1.29, allocations: 291.4 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001443/1.29, allocations: 74.38 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/1.29, allocations: 73.72 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001271/1.291, allocations: 144.2 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002608/1.291, allocations: 300.8 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001073/1.292, allocations: 0.926 MB / 1.095 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.292, allocations: 1.344 kB / 1.095 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/1.292, allocations: 0 / 1.095 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.479e-05/1.292, allocations: 0.5312 kB / 1.095 GB, free: 1.316 MB / 0.8575 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.001371/1.293, allocations: 0.8573 MB / 1.095 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/1.293, allocations: 12.66 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/1.294, allocations: 73.16 kB / 1.096 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009577/1.294, allocations: 0.4984 MB / 1.096 GB, free: 284 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.986e-05/1.295, allocations: 48 kB / 1.096 GB, free: 260 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/1.295, allocations: 51.75 kB / 1.096 GB, free: 244 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/1.296, allocations: 490.1 kB / 1.097 GB, free: 36 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/1.296, allocations: 4 kB / 1.097 GB, free: 32 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.243e-05/1.296, allocations: 26.72 kB / 1.097 GB, free: 12 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.926e-05/1.296, allocations: 12.91 kB / 1.097 GB, free: 12 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/1.297, allocations: 422.2 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002743/1.3, allocations: 1.606 MB / 1.099 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/1.3, allocations: 165.2 kB / 1.099 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/1.301, allocations: 101.2 kB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/1.301, allocations: 2.938 kB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/1.301, allocations: 41.3 kB / 1.099 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.553e-06/1.301, allocations: 0 / 1.099 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.0008207/1.302, allocations: 288.8 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/1.302, allocations: 53.89 kB / 1.099 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006894/1.302, allocations: 0.5139 MB / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/1.302, allocations: 30.36 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/1.303, allocations: 324.5 kB / 1.1 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.411e-05/1.303, allocations: 76.12 kB / 1.1 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/1.303, allocations: 109.5 kB / 1.1 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.303, allocations: 359.9 kB / 1.101 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/1.303, allocations: 104.5 kB / 1.101 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004526/1.304, allocations: 329.9 kB / 1.101 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007447/1.304, allocations: 463.5 kB / 1.101 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.305, allocations: 2.844 kB / 1.101 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009723/1.305, allocations: 474.5 kB / 1.102 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/1.306, allocations: 13.84 kB / 1.102 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/1.306, allocations: 8.125 kB / 1.102 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/1.306, allocations: 14.53 kB / 1.102 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/1.306, allocations: 96.8 kB / 1.102 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.423e-05/1.306, allocations: 20.12 kB / 1.102 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003598/1.306, allocations: 80.22 kB / 1.102 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/1.306, allocations: 24.73 kB / 1.102 GB, free: 12.47 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 17 (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,damLim.not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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.0002322/1.307, allocations: 189.6 kB / 1.102 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/1.307, allocations: 48.38 kB / 1.102 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006821/1.307, allocations: 251.2 kB / 1.103 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/1.307, allocations: 6.625 kB / 1.103 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.307, allocations: 0.5 kB / 1.103 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/1.307, allocations: 5.203 kB / 1.103 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/1.309, allocations: 0.8321 MB / 1.103 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/1.309, allocations: 2.719 kB / 1.103 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/1.309, allocations: 49.67 kB / 1.103 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/1.309, allocations: 2.812 kB / 1.103 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/1.309, allocations: 6.875 kB / 1.103 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/1.309, allocations: 3.734 kB / 1.103 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.309, allocations: 1.156 kB / 1.103 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000597/1.31, allocations: 385.9 kB / 1.104 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/1.31, allocations: 135.2 kB / 1.104 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/1.31, allocations: 7.609 kB / 1.104 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/1.31, allocations: 12.5 kB / 1.104 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-05/1.31, allocations: 21.92 kB / 1.104 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/1.31, allocations: 10.41 kB / 1.104 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004081/1.311, allocations: 346.7 kB / 1.104 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.311, allocations: 0 / 1.104 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004642/1.311, allocations: 85.38 kB / 1.104 GB, free: 10.99 MB / 0.8731 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 (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.0001502/1.311, allocations: 113.8 kB / 1.105 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006828/1.312, allocations: 284 kB / 1.105 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.312, allocations: 1.312 kB / 1.105 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002466/1.312, allocations: 101.4 kB / 1.105 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008431/1.313, allocations: 168.6 kB / 1.105 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/1.315, allocations: 0.7341 MB / 1.106 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/1.315, allocations: 0.843 MB / 1.107 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002269/1.315, allocations: 68.5 kB / 1.107 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/1.315, allocations: 44.59 kB / 1.107 GB, free: 9.512 MB / 0.8731 GB Notification: Performance of SimCode: time 3.1e-07/1.315, allocations: 0 / 1.107 GB, free: 9.512 MB / 0.8731 GB Notification: Performance of Templates: time 0.01417/1.33, allocations: 4.6 MB / 1.111 GB, free: 9.121 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches