Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.SeriesFanVVF.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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 106.6 kB / 16.35 MB, free: 5.824 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.00153/0.00153, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.474/1.474, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.563/2.563, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 67.05 kB / 0.8774 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4036, allocations: 153 MB / 1.027 GB, free: 2 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.00232/0.4059, allocations: 1.016 MB / 1.028 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.4071, allocations: 0.9792 MB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.181e-05/0.4072, allocations: 4 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.317e-05/0.4073, allocations: 11.81 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.4074, allocations: 27.58 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.4076, allocations: 59.94 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.4078, allocations: 164 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.408, allocations: 92.17 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.4082, allocations: 67.7 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.4083, allocations: 75.67 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.4083, allocations: 23.94 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.158e-05/0.4083, allocations: 16 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.118e-05/0.4084, allocations: 39.86 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.772e-05/0.4085, allocations: 71.59 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.4087, allocations: 215.2 kB / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.4087, allocations: 0 / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.933e-06/0.4087, allocations: 3.938 kB / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.4087, allocations: 0 / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0006838/0.4094, allocations: 446.9 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.4095, allocations: 12.03 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.56e-05/0.4095, allocations: 16.75 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.41, allocations: 253.5 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.41, allocations: 16.38 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.41, allocations: 16.36 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.4103, allocations: 146.6 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.4104, allocations: 192 / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.4104, allocations: 11.92 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.4104, allocations: 11.94 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003279/0.4107, allocations: 111.9 kB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006902/0.4114, allocations: 476.1 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.4117, allocations: 130.6 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.4119, allocations: 48.83 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.4119, allocations: 4 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.412, allocations: 34.5 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.412, allocations: 0 / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0005188/0.4125, allocations: 181.3 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.4125, allocations: 55.41 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.4127, allocations: 151.5 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.4127, allocations: 29.7 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.894e-05/0.4128, allocations: 128.2 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.4128, allocations: 27.56 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/0.4129, allocations: 33.7 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.413, allocations: 334.8 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.4132, allocations: 43.95 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.4133, allocations: 75.28 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.4136, allocations: 119.7 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4136, allocations: 4 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003369/0.414, allocations: 153.5 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.414, allocations: 4 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.414, allocations: 4 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.414, allocations: 0 / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.4142, allocations: 27.97 kB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.4142, allocations: 0 / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.034e-05/0.4143, allocations: 19.83 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.4143, allocations: 11.94 kB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.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 (15): * Single equations (assignments): 15 * 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.0001109/0.4144, allocations: 135.4 kB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.4145, allocations: 11.91 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.4145, allocations: 12.72 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.4145, allocations: 7.984 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4145, allocations: 0 / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4145, allocations: 0 / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.4148, allocations: 241.4 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4148, allocations: 0 / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.4149, allocations: 23.98 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.4149, allocations: 11.92 kB / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.415, allocations: 0 / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.415, allocations: 0 / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.415, allocations: 0 / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.4153, allocations: 231.3 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.715e-05/0.4154, allocations: 92.84 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.4154, allocations: 4 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.4156, allocations: 12 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.4156, allocations: 19.97 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.4156, allocations: 0 / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.304e-05/0.4157, allocations: 116.9 kB / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4157, allocations: 3.938 kB / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000242/0.416, allocations: 20 kB / 1.033 GB, free: 10.79 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001457/0.4161, allocations: 115.2 kB / 1.034 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003381/0.4165, allocations: 107.9 kB / 1.034 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4165, allocations: 0 / 1.034 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.4166, allocations: 59.95 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.4169, allocations: 19.25 kB / 1.034 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005226/0.4175, allocations: 276.9 kB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.4178, allocations: 0.7123 MB / 1.035 GB, free: 9.453 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.666e-05/0.4179, allocations: 17.08 kB / 1.035 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.745e-05/0.4179, allocations: 15.44 kB / 1.035 GB, free: 9.422 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.4179, allocations: 4 kB / 1.035 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of Templates: time 0.003836/0.4218, allocations: 1.249 MB / 1.036 GB, free: 8.219 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches