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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damLim.uSupFan_actual|damLim.VOutMinSet_flow|damLim.yOutDam_min|damLim.yOutDam_max|damLim1.uSupFan_actual|damLim1.VOutMinSet_flow|damLim1.yOutDam_min|damLim1.yOutDam_max",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damLim.uSupFan_actual|damLim.VOutMinSet_flow|damLim.yOutDam_min|damLim.yOutDam_max|damLim1.uSupFan_actual|damLim1.VOutMinSet_flow|damLim1.yOutDam_min|damLim1.yOutDam_max",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.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.001233/0.001233, allocations: 104.2 kB / 16.27 MB, free: 5.957 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.001341/0.001341, allocations: 191.4 kB / 17.2 MB, free: 5.598 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.411/1.411, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.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.451/2.451, allocations: 437 MB / 0.711 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 67.16 kB / 0.87 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2893, allocations: 151.6 MB / 1.018 GB, free: 10.57 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow): time 0.003452/0.2928, allocations: 2.298 MB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001917/0.2947, allocations: 1.431 MB / 1.022 GB, free: 6.824 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003589/0.2951, allocations: 15.94 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.2954, allocations: 86.94 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002822/0.2957, allocations: 106.9 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005001/0.2962, allocations: 291.7 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000771/0.297, allocations: 0.7815 MB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005504/0.2976, allocations: 402.2 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003053/0.2979, allocations: 302.7 kB / 1.024 GB, free: 4.848 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.2982, allocations: 334.3 kB / 1.024 GB, free: 4.52 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.2983, allocations: 84 kB / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.767e-05/0.2984, allocations: 84 kB / 1.024 GB, free: 4.355 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.2986, allocations: 171.4 kB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002862/0.2989, allocations: 358.1 kB / 1.025 GB, free: 3.836 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0008015/0.2997, allocations: 1.082 MB / 1.026 GB, free: 2.75 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2997, allocations: 0 / 1.026 GB, free: 2.75 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2997, allocations: 0 / 1.026 GB, free: 2.75 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.374e-05/0.2997, allocations: 0 / 1.026 GB, free: 2.75 MB / 0.795 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.001581/0.3013, allocations: 0.9586 MB / 1.027 GB, free: 1.738 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.3013, allocations: 11.97 kB / 1.027 GB, free: 1.727 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.3015, allocations: 80 kB / 1.027 GB, free: 1.648 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000857/0.3023, allocations: 0.5649 MB / 1.027 GB, free: 1.039 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/0.3024, allocations: 45.69 kB / 1.027 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.057e-05/0.3025, allocations: 64.31 kB / 1.027 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009649/0.3034, allocations: 0.5459 MB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.3035, allocations: 192 / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.9e-05/0.3035, allocations: 43.88 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.3035, allocations: 16 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009612/0.3045, allocations: 477 kB / 1.028 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002683/0.3072, allocations: 1.871 MB / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005867/0.3078, allocations: 206.8 kB / 1.03 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.3081, allocations: 100.8 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.3081, allocations: 7.938 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.3081, allocations: 34.56 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=22): time 1.773e-06/0.3081, allocations: 0 / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22): time 0.000855/0.309, allocations: 326.6 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.3091, allocations: 51.41 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006274/0.3097, allocations: 0.5847 MB / 1.031 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.3097, allocations: 33.7 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.31, allocations: 382.6 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.7e-05/0.31, allocations: 75 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.3102, allocations: 130 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3103, allocations: 362.8 kB / 1.032 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.3107, allocations: 129 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004408/0.3111, allocations: 388.7 kB / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007612/0.3119, allocations: 0.5356 MB / 1.033 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.3119, allocations: 7.938 kB / 1.033 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001042/0.313, allocations: 0.5613 MB / 1.034 GB, free: 9.688 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.313, allocations: 8 kB / 1.034 GB, free: 9.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.313, allocations: 8 kB / 1.034 GB, free: 9.672 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.313, allocations: 12 kB / 1.034 GB, free: 9.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003779/0.3134, allocations: 120.3 kB / 1.034 GB, free: 9.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/0.3135, allocations: 19.92 kB / 1.034 GB, free: 9.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004034/0.3139, allocations: 83.2 kB / 1.034 GB, free: 9.441 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.3139, allocations: 28 kB / 1.034 GB, free: 9.414 MB / 0.8106 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.0002812/0.3142, allocations: 211.8 kB / 1.034 GB, free: 9.199 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.399e-05/0.3143, allocations: 59.25 kB / 1.035 GB, free: 9.141 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000683/0.315, allocations: 278.6 kB / 1.035 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.315, allocations: 11.94 kB / 1.035 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.315, allocations: 0 / 1.035 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.315, allocations: 3.984 kB / 1.035 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.3163, allocations: 0.8815 MB / 1.036 GB, free: 7.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.3164, allocations: 8 kB / 1.036 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.3166, allocations: 51.95 kB / 1.036 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.3166, allocations: 4 kB / 1.036 GB, free: 7.82 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.3166, allocations: 7.938 kB / 1.036 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.3166, allocations: 3.938 kB / 1.036 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.3166, allocations: 7.938 kB / 1.036 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005993/0.3172, allocations: 411.8 kB / 1.036 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.3174, allocations: 140.3 kB / 1.036 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.456e-05/0.3174, allocations: 7.938 kB / 1.036 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.3177, allocations: 15.98 kB / 1.036 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.3177, allocations: 23.97 kB / 1.036 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.3178, allocations: 15.98 kB / 1.036 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000392/0.3182, allocations: 378.8 kB / 1.037 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3182, allocations: 0 / 1.037 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004797/0.3186, allocations: 103.6 kB / 1.037 GB, free: 6.68 MB / 0.8106 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.0001245/0.3188, allocations: 115.2 kB / 1.037 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007877/0.3196, allocations: 349 kB / 1.037 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3196, allocations: 0.6875 kB / 1.037 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002774/0.3199, allocations: 112 kB / 1.037 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008693/0.3207, allocations: 185.2 kB / 1.038 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.3222, allocations: 0.9059 MB / 1.038 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.3226, allocations: 0.8744 MB / 1.039 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.3228, allocations: 51.44 kB / 1.039 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3228, allocations: 0 / 1.039 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of Templates: time 0.01005/0.3328, allocations: 6.633 MB / 1.046 GB, free: 13.42 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/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