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.006318/0.006319, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001147/0.001147, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.279/2.279, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 67.89 kB / 0.9509 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122/1.123, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002639/1.126, allocations: 1.002 MB / 1.089 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001325/1.127, allocations: 0.9659 MB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/1.128, allocations: 2.25 kB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.826e-05/1.128, allocations: 14.86 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001496/1.128, allocations: 24.11 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/1.128, allocations: 60.34 kB / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002444/1.128, allocations: 159 kB / 1.09 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002611/1.129, allocations: 90.83 kB / 1.09 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/1.129, allocations: 72.64 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/1.129, allocations: 68.27 kB / 1.09 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.546e-05/1.129, allocations: 19.84 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.561e-05/1.129, allocations: 15.69 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.194e-05/1.129, allocations: 35 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.318e-05/1.129, allocations: 76.19 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003576/1.13, allocations: 205.4 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.13, allocations: 0 / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/1.13, allocations: 1.125 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.453e-05/1.13, allocations: 0 / 1.091 GB, free: 3.688 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.0007253/1.13, allocations: 442.7 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/1.13, allocations: 12.84 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.364e-05/1.13, allocations: 16.41 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/1.131, allocations: 255.6 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/1.131, allocations: 10.47 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/1.131, allocations: 13.09 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/1.131, allocations: 150.7 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/1.131, allocations: 0.6094 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/1.131, allocations: 4.938 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/1.131, allocations: 7.469 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004033/1.132, allocations: 111.3 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008944/1.133, allocations: 465.5 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/1.133, allocations: 112.2 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/1.133, allocations: 54.39 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/1.133, allocations: 1.438 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/1.133, allocations: 32.11 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/1.133, allocations: 0.6875 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0006657/1.134, allocations: 173.6 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/1.134, allocations: 53 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/1.134, allocations: 153.9 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/1.134, allocations: 29.7 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.335e-05/1.134, allocations: 124.2 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/1.134, allocations: 29.78 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.636e-05/1.135, allocations: 38.86 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.731e-05/1.135, allocations: 329.2 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/1.135, allocations: 43.52 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/1.135, allocations: 69.17 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/1.135, allocations: 110.5 kB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.135, allocations: 0.875 kB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003766/1.136, allocations: 148 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/1.136, allocations: 9.031 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.136, allocations: 2.047 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/1.136, allocations: 1.688 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/1.136, allocations: 31.88 kB / 1.094 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/1.136, allocations: 1.938 kB / 1.094 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/1.136, allocations: 14.72 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/1.136, allocations: 8.469 kB / 1.094 GB, free: 1.445 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 0.0001042/1.136, allocations: 130.8 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/1.136, allocations: 16.95 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.946e-05/1.136, allocations: 16.61 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.136, allocations: 5.719 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/1.136, allocations: 5.125 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/1.136, allocations: 0.5156 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/1.137, allocations: 231.8 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.137, allocations: 0 / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/1.137, allocations: 20.22 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/1.137, allocations: 4.625 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/1.137, allocations: 1.578 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/1.137, allocations: 1.594 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.137, allocations: 0 / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004006/1.137, allocations: 232.3 kB / 1.094 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/1.137, allocations: 93.62 kB / 1.094 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/1.137, allocations: 4.969 kB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/1.137, allocations: 8.375 kB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/1.138, allocations: 19.94 kB / 1.094 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/1.138, allocations: 3.828 kB / 1.094 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001192/1.138, allocations: 112.2 kB / 1.094 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.138, allocations: 0 / 1.094 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000311/1.138, allocations: 22.28 kB / 1.095 GB, free: 0.6836 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.0002668/1.138, allocations: 107.1 kB / 1.095 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005853/1.139, allocations: 109.2 kB / 1.095 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.139, allocations: 0 / 1.095 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002596/1.139, allocations: 58.62 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/1.14, allocations: 20 kB / 1.095 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009166/1.141, allocations: 264 kB / 1.095 GB, free: 356 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000538/1.141, allocations: 0.711 MB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001239/1.141, allocations: 16.67 kB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.683e-05/1.141, allocations: 21.3 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of SimCode: time 1.412e-06/1.141, allocations: 4 kB / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of Templates: time 0.006425/1.148, 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