Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.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.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001297/0.001297, allocations: 195.9 kB / 16.14 MB, free: 6.656 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.463/1.463, allocations: 222.9 MB / 239.8 MB, free: 4.535 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.688/2.688, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 71.91 kB / 0.8686 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8087/0.8101, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002617/0.8127, allocations: 1.065 MB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.814, allocations: 0.9674 MB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.23e-05/0.8141, allocations: 4 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.654e-05/0.8141, allocations: 7.922 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.8143, allocations: 11.88 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.8145, allocations: 67.88 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.8146, allocations: 143.6 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.8149, allocations: 84.17 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.815, allocations: 55.77 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.783e-05/0.8151, allocations: 59.69 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.8152, allocations: 16 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.145e-05/0.8152, allocations: 11.94 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.782e-05/0.8152, allocations: 31.84 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.961e-05/0.8153, allocations: 59.66 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.8155, allocations: 193.3 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.8156, allocations: 4 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.253e-06/0.8156, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.8156, allocations: 0 / 1.019 GB, free: 15.98 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0007003/0.8163, allocations: 447.2 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.8163, allocations: 8.031 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.8164, allocations: 16.75 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004626/0.8168, allocations: 260.1 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.8169, allocations: 12.66 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.8169, allocations: 12.38 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/0.8173, allocations: 144.4 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.8173, allocations: 192 / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.8173, allocations: 11.94 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.8173, allocations: 0 / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003292/0.8177, allocations: 116.8 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006795/0.8184, allocations: 472.1 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.8187, allocations: 106.5 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.8188, allocations: 56.83 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.8189, allocations: 3.984 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.8189, allocations: 38.5 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.8189, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.000564/0.8195, allocations: 165.4 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.8195, allocations: 59.41 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.8197, allocations: 157.9 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.8197, allocations: 25.7 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.785e-05/0.8198, allocations: 119.8 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.8198, allocations: 31.55 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/0.8199, allocations: 37.7 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.82, allocations: 326.8 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.8202, allocations: 39.97 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.8204, allocations: 75.33 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.8207, allocations: 107.3 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8207, allocations: 0 / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003509/0.821, allocations: 145.5 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.8211, allocations: 4 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.8211, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.8211, allocations: 4.094 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.8213, allocations: 31.97 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.8213, allocations: 3.938 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.8214, allocations: 23.83 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.8214, allocations: 4 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001164/0.8215, allocations: 128 kB / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.8216, allocations: 11.84 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.31e-05/0.8216, allocations: 24.7 kB / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.8216, allocations: 0 / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.8216, allocations: 0 / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.8216, allocations: 4 kB / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.8219, allocations: 233.4 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8219, allocations: 0 / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.822, allocations: 27.91 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.822, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.8221, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.8221, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.8221, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.8224, allocations: 231.9 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.8225, allocations: 85.02 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.8225, allocations: 3.938 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.8226, allocations: 11.98 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.601e-05/0.8227, allocations: 19.97 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.8227, allocations: 11.94 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.199e-05/0.8228, allocations: 107.2 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8228, allocations: 0 / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002497/0.8231, allocations: 27.84 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001391/0.8232, allocations: 115.2 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003564/0.8236, allocations: 111.9 kB / 1.023 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.8236, allocations: 0 / 1.023 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.8238, allocations: 51.97 kB / 1.023 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.8241, allocations: 20.34 kB / 1.023 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005791/0.8247, allocations: 308.7 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.825, allocations: 0.7162 MB / 1.024 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.819e-05/0.8251, allocations: 20.62 kB / 1.024 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.8252, allocations: 19.42 kB / 1.024 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of SimCode: time 5.61e-07/0.8252, allocations: 0 / 1.024 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of Templates: time 0.003858/0.829, allocations: 1.082 MB / 1.026 GB, free: 9.285 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches