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.001118/0.001118, 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.001086/0.001086, 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.428/1.428, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.661/2.661, allocations: 437 MB / 0.7103 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 59.91 kB / 0.8693 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8945/0.8959, allocations: 151.6 MB / 1.017 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002966/0.8989, allocations: 1.006 MB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.9004, allocations: 0.9674 MB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.9006, allocations: 4 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.023e-05/0.9007, allocations: 19.73 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.9009, allocations: 11.81 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.9012, allocations: 67.86 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.9014, allocations: 155.6 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002416/0.9016, allocations: 92.16 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.9018, allocations: 67.7 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.902, allocations: 75.67 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.902, allocations: 16 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.035e-05/0.9021, allocations: 20 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.032e-05/0.9021, allocations: 31.91 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.355e-05/0.9022, allocations: 71.55 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.9025, allocations: 193.4 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.9025, allocations: 0 / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9025, allocations: 3.938 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.9025, allocations: 0 / 1.02 GB, free: 15.73 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.0007955/0.9033, allocations: 455.1 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.9034, allocations: 12.03 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.115e-05/0.9034, allocations: 16.75 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004865/0.9039, allocations: 250 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.904, allocations: 16.64 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.904, allocations: 12.38 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.9044, allocations: 140.4 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.9044, allocations: 4.188 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.9045, allocations: 11.94 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.9045, allocations: 4 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003409/0.9048, allocations: 112.7 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007684/0.9056, allocations: 476.1 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.9059, allocations: 106.5 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.9061, allocations: 52.88 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.9061, allocations: 8 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.9061, allocations: 38.55 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.9062, allocations: 0 / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005608/0.9067, allocations: 165.4 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.9068, allocations: 51.41 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.9069, allocations: 160 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.907, allocations: 25.7 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.9071, allocations: 123.8 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.9071, allocations: 35.53 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.285e-05/0.9072, allocations: 41.64 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.9074, allocations: 326.8 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.9075, allocations: 39.97 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.9077, allocations: 71.39 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.908, allocations: 115.7 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.908, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003617/0.9084, allocations: 141.5 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.9084, allocations: 10.19 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.9084, allocations: 3.938 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.9085, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.9086, allocations: 32.02 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.9086, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.9088, allocations: 23.83 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.9088, allocations: 7.984 kB / 1.023 GB, free: 12.46 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.0001325/0.9089, allocations: 129.7 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.909, allocations: 15.83 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.909, allocations: 16.72 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.909, allocations: 4 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.909, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.909, allocations: 4 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.9093, allocations: 229.4 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.9093, allocations: 4 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.9094, allocations: 15.98 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.9095, allocations: 0 / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.9095, allocations: 8 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.9095, allocations: 3.984 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.9095, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.9099, allocations: 227.2 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.9099, allocations: 92.94 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.91, allocations: 4 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.9101, allocations: 11.98 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.072e-05/0.9102, allocations: 11.98 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.9102, allocations: 12 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.842e-05/0.9103, allocations: 118.4 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9103, allocations: 0 / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002594/0.9105, allocations: 23.91 kB / 1.024 GB, free: 11.46 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.0001505/0.9107, allocations: 103.2 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004036/0.9111, allocations: 112 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.9111, allocations: 0 / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.9113, allocations: 63.83 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.9117, allocations: 12 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006871/0.9124, allocations: 269.4 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.9127, allocations: 0.7122 MB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.542e-05/0.9128, allocations: 16.64 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.089e-05/0.9129, allocations: 23.42 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.9129, allocations: 0 / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of Templates: time 0.004691/0.9176, allocations: 1.213 MB / 1.026 GB, free: 8.93 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