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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001462/0.001462, allocations: 104.5 kB / 16.36 MB, free: 5.875 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.0016/0.0016, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.646/2.646, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 63.72 kB / 0.8707 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3626, allocations: 151.6 MB / 1.019 GB, free: 9.793 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002505/0.3651, allocations: 1.009 MB / 1.02 GB, free: 8.777 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.3664, allocations: 0.9713 MB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.3665, allocations: 7.938 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.449e-05/0.3666, allocations: 15.8 kB / 1.021 GB, free: 7.77 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.3667, allocations: 15.75 kB / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.367, allocations: 67.86 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.3671, allocations: 159.6 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.3674, allocations: 88.17 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.3675, allocations: 75.69 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.3677, allocations: 63.69 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.3677, allocations: 16 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.645e-05/0.3677, allocations: 16 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.873e-05/0.3678, allocations: 39.86 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.374e-05/0.3679, allocations: 75.64 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.3681, allocations: 203.1 kB / 1.022 GB, free: 6.965 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3681, allocations: 4 kB / 1.022 GB, free: 6.961 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3681, allocations: 4 kB / 1.022 GB, free: 6.957 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.3681, allocations: 0 / 1.022 GB, free: 6.957 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0007135/0.3689, allocations: 439.1 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3689, allocations: 12.92 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.304e-05/0.369, allocations: 16.75 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000446/0.3694, allocations: 258.1 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.3695, allocations: 12.66 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.3695, allocations: 16.31 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.3698, allocations: 141 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3698, allocations: 192 / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.3699, allocations: 7.938 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.3699, allocations: 8 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.3702, allocations: 108.8 kB / 1.023 GB, free: 5.867 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007026/0.3709, allocations: 472 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.3712, allocations: 106.6 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.3714, allocations: 48.89 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.3714, allocations: 0 / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.3714, allocations: 42.48 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.3714, allocations: 0 / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.0005293/0.372, allocations: 169.4 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.372, allocations: 55.41 kB / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.3722, allocations: 157 kB / 1.024 GB, free: 4.738 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.3722, allocations: 25.7 kB / 1.024 GB, free: 4.707 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.65e-05/0.3723, allocations: 115.8 kB / 1.024 GB, free: 4.59 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.3723, allocations: 31.55 kB / 1.024 GB, free: 4.559 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.178e-05/0.3724, allocations: 37.7 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3726, allocations: 334.7 kB / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.3727, allocations: 39.97 kB / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.3729, allocations: 76.58 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.3732, allocations: 107.3 kB / 1.024 GB, free: 3.938 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.3732, allocations: 0 / 1.024 GB, free: 3.938 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003508/0.3735, allocations: 149.4 kB / 1.024 GB, free: 3.785 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3736, allocations: 8.094 kB / 1.024 GB, free: 3.777 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.3736, allocations: 4 kB / 1.024 GB, free: 3.773 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3736, allocations: 0 / 1.024 GB, free: 3.773 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.3738, allocations: 27.98 kB / 1.024 GB, free: 3.746 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.3738, allocations: 0 / 1.024 GB, free: 3.746 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.3739, allocations: 23.77 kB / 1.024 GB, free: 3.723 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.3739, allocations: 8 kB / 1.024 GB, free: 3.715 MB / 0.795 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.0001351/0.3741, allocations: 133.8 kB / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.3741, allocations: 7.906 kB / 1.025 GB, free: 3.566 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.3742, allocations: 20.7 kB / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3742, allocations: 3.938 kB / 1.025 GB, free: 3.543 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3742, allocations: 0 / 1.025 GB, free: 3.543 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3742, allocations: 0 / 1.025 GB, free: 3.543 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.3745, allocations: 241.4 kB / 1.025 GB, free: 3.258 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3745, allocations: 0 / 1.025 GB, free: 3.258 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.3746, allocations: 19.98 kB / 1.025 GB, free: 3.238 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.3747, allocations: 0 / 1.025 GB, free: 3.238 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.3747, allocations: 11.92 kB / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3747, allocations: 0 / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/0.3747, allocations: 4 kB / 1.025 GB, free: 3.223 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.3751, allocations: 223.3 kB / 1.025 GB, free: 2.988 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/0.3751, allocations: 85.02 kB / 1.025 GB, free: 2.887 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.3751, allocations: 0 / 1.025 GB, free: 2.887 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.3753, allocations: 15.98 kB / 1.025 GB, free: 2.871 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.3753, allocations: 19.92 kB / 1.025 GB, free: 2.852 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.3753, allocations: 4 kB / 1.025 GB, free: 2.848 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.965e-05/0.3754, allocations: 112.9 kB / 1.025 GB, free: 2.738 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3754, allocations: 0 / 1.025 GB, free: 2.738 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000253/0.3757, allocations: 27.84 kB / 1.025 GB, free: 2.711 MB / 0.795 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.0001209/0.3758, allocations: 111.2 kB / 1.025 GB, free: 2.594 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003361/0.3762, allocations: 108.5 kB / 1.026 GB, free: 2.488 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.3762, allocations: 0 / 1.026 GB, free: 2.488 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.3763, allocations: 55.97 kB / 1.026 GB, free: 2.434 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.3766, allocations: 16.36 kB / 1.026 GB, free: 2.418 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005879/0.3772, allocations: 268.8 kB / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.3775, allocations: 0.7084 MB / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 8.181e-05/0.3776, allocations: 20.58 kB / 1.027 GB, free: 1.375 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.3777, allocations: 19.42 kB / 1.027 GB, free: 1.355 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3777, allocations: 0 / 1.027 GB, free: 1.355 MB / 0.795 GB Notification: Performance of Templates: time 0.003949/0.3817, allocations: 1.223 MB / 1.028 GB, free: 184 kB / 0.795 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 -s gbode -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/jenkins1/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