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.002128/0.002128, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002129/0.002129, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.45/1.45, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.732/2.732, allocations: 437 MB / 0.7103 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.89 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6755/0.6768, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow): time 0.003577/0.6805, allocations: 2.305 MB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00219/0.6827, allocations: 1.435 MB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003706/0.6831, allocations: 15.94 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.6834, allocations: 82.94 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.6836, allocations: 106.9 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004884/0.6841, allocations: 287.7 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006716/0.6848, allocations: 0.7932 MB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000518/0.6854, allocations: 398.2 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.6856, allocations: 294.7 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.6859, allocations: 338.2 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.686, allocations: 84 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.85e-05/0.6861, allocations: 88 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.6862, allocations: 175.4 kB / 1.024 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002421/0.6865, allocations: 350.1 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008406/0.6873, allocations: 1.08 MB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6873, allocations: 0 / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6874, allocations: 0 / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.6874, allocations: 0 / 1.025 GB, free: 10.66 MB / 0.7794 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.001448/0.6888, allocations: 0.9625 MB / 1.026 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.6889, allocations: 12.03 kB / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.689, allocations: 83.98 kB / 1.026 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000836/0.6899, allocations: 0.5611 MB / 1.027 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.336e-05/0.6899, allocations: 49.69 kB / 1.027 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.339e-05/0.69, allocations: 60.38 kB / 1.027 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009382/0.6909, allocations: 0.5497 MB / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.691, allocations: 192 / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.023e-05/0.691, allocations: 27.94 kB / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.691, allocations: 16 kB / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009298/0.692, allocations: 477 kB / 1.028 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002657/0.6946, allocations: 1.879 MB / 1.03 GB, free: 5.789 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005954/0.6953, allocations: 206.8 kB / 1.03 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.6955, allocations: 99.98 kB / 1.03 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.6956, allocations: 11.94 kB / 1.03 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.6956, allocations: 34.56 kB / 1.03 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.773e-06/0.6956, allocations: 0 / 1.03 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22): time 0.0008453/0.6964, allocations: 320.8 kB / 1.03 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.6965, allocations: 59.41 kB / 1.03 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005988/0.6971, allocations: 0.5808 MB / 1.031 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.6971, allocations: 29.7 kB / 1.031 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.6974, allocations: 386.5 kB / 1.031 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.722e-05/0.6975, allocations: 75 kB / 1.031 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.6976, allocations: 126 kB / 1.031 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.6978, allocations: 366.8 kB / 1.032 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.6981, allocations: 129 kB / 1.032 GB, free: 3.328 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004489/0.6985, allocations: 388.7 kB / 1.032 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007566/0.6993, allocations: 0.5314 MB / 1.033 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.6993, allocations: 7.938 kB / 1.033 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009946/0.7003, allocations: 0.5694 MB / 1.033 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.7003, allocations: 9.406 kB / 1.033 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.7004, allocations: 12.69 kB / 1.033 GB, free: 1.566 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.7004, allocations: 12 kB / 1.033 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003721/0.7008, allocations: 111.8 kB / 1.033 GB, free: 1.445 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/0.7008, allocations: 19.92 kB / 1.033 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/0.7012, allocations: 87.12 kB / 1.034 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.7012, allocations: 32 kB / 1.034 GB, free: 1.309 MB / 0.7794 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.0002632/0.7015, allocations: 207.8 kB / 1.034 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-05/0.7016, allocations: 55.25 kB / 1.034 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006557/0.7022, allocations: 288.4 kB / 1.034 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.7023, allocations: 0 / 1.034 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.7023, allocations: 0 / 1.034 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.7023, allocations: 4 kB / 1.034 GB, free: 0.7461 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.7036, allocations: 0.8892 MB / 1.035 GB, free: 15.78 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.7036, allocations: 0 / 1.035 GB, free: 15.78 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.7038, allocations: 47.97 kB / 1.035 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.7038, allocations: 7.984 kB / 1.035 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/0.7039, allocations: 8 kB / 1.035 GB, free: 15.72 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.7039, allocations: 15.86 kB / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.7039, allocations: 4.188 kB / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00061/0.7045, allocations: 403.4 kB / 1.035 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.7046, allocations: 140.3 kB / 1.036 GB, free: 15.12 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.095e-05/0.7047, allocations: 19.86 kB / 1.036 GB, free: 15.1 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.7049, allocations: 15.92 kB / 1.036 GB, free: 15.08 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.042e-05/0.705, allocations: 35.88 kB / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.705, allocations: 4 kB / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003891/0.7054, allocations: 374.8 kB / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7054, allocations: 0 / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004897/0.7059, allocations: 103.7 kB / 1.036 GB, free: 14.58 MB / 0.795 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.0001466/0.7061, allocations: 123.1 kB / 1.036 GB, free: 14.45 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007704/0.7068, allocations: 337.7 kB / 1.037 GB, free: 14.12 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.7069, allocations: 0 / 1.037 GB, free: 14.12 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002772/0.7071, allocations: 119.9 kB / 1.037 GB, free: 14 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008985/0.7081, allocations: 188 kB / 1.037 GB, free: 13.82 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.7095, allocations: 0.865 MB / 1.038 GB, free: 12.91 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.71, allocations: 0.8666 MB / 1.039 GB, free: 12.01 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003048/0.7103, allocations: 80.92 kB / 1.039 GB, free: 11.93 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.7104, allocations: 47.42 kB / 1.039 GB, free: 11.89 MB / 0.795 GB Notification: Performance of SimCode: time 6.82e-07/0.7104, allocations: 0 / 1.039 GB, free: 11.89 MB / 0.795 GB Notification: Performance of Templates: time 0.01125/0.7217, allocations: 5.146 MB / 1.044 GB, free: 6.84 MB / 0.795 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/jenkins/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