Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.009485/0.009485, allocations: 102.6 kB / 15.73 MB, free: 6.066 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.001665/0.001665, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.59/2.59, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 67.91 kB / 1.054 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119/1.121, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.00239/1.123, allocations: 1.002 MB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001186/1.124, allocations: 0.9791 MB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.717e-05/1.124, allocations: 4 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.728e-05/1.124, allocations: 19.73 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001202/1.125, allocations: 15.8 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/1.125, allocations: 67.88 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002194/1.125, allocations: 168.1 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002497/1.125, allocations: 84.17 kB / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/1.125, allocations: 75.64 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/1.126, allocations: 67.69 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/1.126, allocations: 16 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.212e-05/1.126, allocations: 24 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/1.126, allocations: 39.84 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.942e-05/1.126, allocations: 75.58 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/1.126, allocations: 211 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/1.126, allocations: 4 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/1.126, allocations: 0 / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.743e-06/1.126, allocations: 0 / 1.211 GB, free: 10.78 MB / 0.9356 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.0007362/1.127, allocations: 450.8 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/1.127, allocations: 16.03 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/1.127, allocations: 16.75 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/1.127, allocations: 259.8 kB / 1.211 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/1.127, allocations: 8.375 kB / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/1.128, allocations: 20.31 kB / 1.211 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/1.128, allocations: 150 kB / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.128, allocations: 192 / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/1.128, allocations: 11.94 kB / 1.211 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/1.128, allocations: 4 kB / 1.211 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003411/1.128, allocations: 119.9 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007525/1.129, allocations: 472.1 kB / 1.212 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/1.129, allocations: 126.5 kB / 1.212 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/1.13, allocations: 48.83 kB / 1.212 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/1.13, allocations: 7.984 kB / 1.212 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/1.13, allocations: 38.5 kB / 1.212 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/1.13, allocations: 0 / 1.212 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0005586/1.13, allocations: 173.4 kB / 1.212 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/1.13, allocations: 55.41 kB / 1.212 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/1.13, allocations: 154.3 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/1.13, allocations: 25.7 kB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.148e-05/1.13, allocations: 124.2 kB / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/1.13, allocations: 31.55 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/1.131, allocations: 41.7 kB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.131, allocations: 326.8 kB / 1.213 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/1.131, allocations: 43.97 kB / 1.213 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/1.131, allocations: 75.33 kB / 1.213 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/1.131, allocations: 115.7 kB / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.131, allocations: 0 / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003457/1.132, allocations: 157.3 kB / 1.213 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/1.132, allocations: 4 kB / 1.213 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/1.132, allocations: 7.938 kB / 1.213 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/1.132, allocations: 0 / 1.213 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/1.132, allocations: 23.98 kB / 1.213 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/1.132, allocations: 3.984 kB / 1.214 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.026e-05/1.132, allocations: 12 kB / 1.214 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/1.132, allocations: 4 kB / 1.214 GB, free: 7.461 MB / 0.9356 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.0001173/1.132, allocations: 143.7 kB / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/1.132, allocations: 11.81 kB / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/1.132, allocations: 16.72 kB / 1.214 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.132, allocations: 0 / 1.214 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.132, allocations: 0 / 1.214 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.132, allocations: 4 kB / 1.214 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/1.132, allocations: 237.5 kB / 1.214 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.132, allocations: 4 kB / 1.214 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/1.133, allocations: 31.91 kB / 1.214 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/1.133, allocations: 0 / 1.214 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/1.133, allocations: 4 kB / 1.214 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.133, allocations: 3.984 kB / 1.214 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.133, allocations: 0 / 1.214 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/1.133, allocations: 235.1 kB / 1.214 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/1.133, allocations: 89.02 kB / 1.214 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/1.133, allocations: 8 kB / 1.214 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/1.133, allocations: 7.984 kB / 1.214 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.479e-05/1.133, allocations: 15.97 kB / 1.214 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/1.133, allocations: 8 kB / 1.214 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.108e-05/1.133, allocations: 109.6 kB / 1.214 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.133, allocations: 4 kB / 1.214 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002458/1.134, allocations: 27.84 kB / 1.214 GB, free: 6.422 MB / 0.9356 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.0001464/1.134, allocations: 111.2 kB / 1.215 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003557/1.134, allocations: 115.8 kB / 1.215 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/1.134, allocations: 0 / 1.215 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/1.134, allocations: 59.91 kB / 1.215 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/1.135, allocations: 12.19 kB / 1.215 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/1.135, allocations: 265 kB / 1.215 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/1.136, allocations: 0.7161 MB / 1.216 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.021e-05/1.136, allocations: 17.08 kB / 1.216 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/1.136, allocations: 27.42 kB / 1.216 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/1.136, allocations: 0 / 1.216 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of Templates: time 0.004104/1.14, allocations: 1.296 MB / 1.217 GB, free: 3.809 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches