Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.007511/0.007511, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001433/0.001434, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.426/1.426, 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 9.1.3-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.91 kB / 0.9509 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.075, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002316/1.077, allocations: 0.9982 MB / 1.089 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001189/1.078, allocations: 0.9588 MB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.868e-05/1.078, allocations: 6.094 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.579e-05/1.079, allocations: 18.66 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001335/1.079, allocations: 25.22 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/1.079, allocations: 60.81 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001939/1.079, allocations: 161.8 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/1.079, allocations: 85.34 kB / 1.09 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/1.08, allocations: 73.58 kB / 1.09 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/1.08, allocations: 73.97 kB / 1.09 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.624e-05/1.08, allocations: 16.84 kB / 1.09 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.202e-05/1.08, allocations: 16.5 kB / 1.09 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.493e-05/1.08, allocations: 38.33 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.46e-05/1.08, allocations: 71.92 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/1.08, allocations: 205.9 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.08, allocations: 0 / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.824e-06/1.08, allocations: 0 / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.743e-06/1.08, allocations: 0 / 1.091 GB, free: 3.691 MB / 0.8575 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.000664/1.081, allocations: 443 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.081, allocations: 9.125 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/1.081, allocations: 16.94 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/1.081, allocations: 255 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/1.081, allocations: 11 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/1.081, allocations: 17.16 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/1.082, allocations: 146.1 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/1.082, allocations: 0.9062 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/1.082, allocations: 4.781 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/1.082, allocations: 7.984 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003555/1.082, allocations: 111.6 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006655/1.083, allocations: 465.4 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/1.083, allocations: 108.1 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/1.083, allocations: 50.08 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/1.083, allocations: 1.594 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/1.083, allocations: 32.06 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/1.083, allocations: 0 / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005663/1.084, allocations: 177.6 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/1.084, allocations: 53.14 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/1.084, allocations: 159.4 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/1.084, allocations: 25.7 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/1.084, allocations: 127.5 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/1.084, allocations: 31.02 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.938e-05/1.084, allocations: 39.2 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.307e-05/1.084, allocations: 332.2 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/1.085, allocations: 43.27 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/1.085, allocations: 69.23 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/1.085, allocations: 111.1 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.085, allocations: 0.5312 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00037/1.085, allocations: 156.2 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/1.086, allocations: 8.938 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.086, allocations: 1.844 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/1.086, allocations: 1.781 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/1.086, allocations: 28.45 kB / 1.094 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/1.086, allocations: 3.156 kB / 1.094 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.869e-05/1.086, allocations: 12.06 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/1.086, allocations: 12.52 kB / 1.094 GB, free: 1.441 MB / 0.8575 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 8.835e-05/1.086, allocations: 130 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/1.086, allocations: 13.28 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.923e-05/1.086, allocations: 19.77 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.086, allocations: 2.125 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.086, allocations: 0 / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/1.086, allocations: 1.312 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/1.086, allocations: 232 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.086, allocations: 0 / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/1.086, allocations: 19.97 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/1.086, allocations: 5.156 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/1.086, allocations: 1.422 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.086, allocations: 1.266 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.086, allocations: 0 / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/1.087, allocations: 232.8 kB / 1.094 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/1.087, allocations: 92.97 kB / 1.094 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/1.087, allocations: 5.547 kB / 1.094 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/1.087, allocations: 12.48 kB / 1.094 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/1.087, allocations: 15.48 kB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.138e-06/1.087, allocations: 3.016 kB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.472e-05/1.087, allocations: 111.2 kB / 1.094 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.087, allocations: 0 / 1.094 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002521/1.087, allocations: 21.94 kB / 1.095 GB, free: 0.6914 MB / 0.8575 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.0001193/1.088, allocations: 110.3 kB / 1.095 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003853/1.088, allocations: 109.1 kB / 1.095 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.088, allocations: 0.9062 kB / 1.095 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001701/1.088, allocations: 54.84 kB / 1.095 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/1.089, allocations: 17.7 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005677/1.089, allocations: 268.9 kB / 1.095 GB, free: 364 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/1.089, allocations: 0.7099 MB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.145e-05/1.089, allocations: 17.02 kB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.507e-05/1.09, allocations: 21.69 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/1.09, allocations: 4 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of Templates: time 0.004618/1.094, allocations: 1.228 MB / 1.097 GB, free: 15.54 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches