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.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.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.001414/0.001414, allocations: 110.6 kB / 16.37 MB, free: 6.012 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.001514/0.001514, allocations: 190.1 kB / 17.31 MB, free: 5.613 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.518/2.518, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001378, allocations: 57.28 kB / 0.8774 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3343, allocations: 153 MB / 1.027 GB, free: 1.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.00236/0.3367, allocations: 1.019 MB / 1.028 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.3379, allocations: 0.9713 MB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.231e-05/0.338, allocations: 0 / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.735e-05/0.338, allocations: 15.8 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.3381, allocations: 35.66 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.3383, allocations: 59.94 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.3385, allocations: 160.1 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/0.3388, allocations: 96.09 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.3389, allocations: 67.72 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.3391, allocations: 91.53 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.3391, allocations: 16 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.984e-05/0.3392, allocations: 20 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.086e-05/0.3392, allocations: 27.92 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.867e-05/0.3393, allocations: 71.59 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.3395, allocations: 223.1 kB / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3395, allocations: 0 / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3395, allocations: 0 / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.3395, allocations: 0 / 1.03 GB, free: 15.11 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.0006945/0.3402, allocations: 450.9 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3403, allocations: 11.97 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.3403, allocations: 16.75 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000433/0.3408, allocations: 253.7 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.3408, allocations: 8.375 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.3408, allocations: 16.38 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.3412, allocations: 150.6 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.3412, allocations: 192 / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.3412, allocations: 7.938 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.3412, allocations: 4 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/0.3416, allocations: 119.9 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006497/0.3422, allocations: 476.1 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.3425, allocations: 122.6 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.3427, allocations: 48.83 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.3427, allocations: 4 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.3427, allocations: 38.5 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/0.3427, allocations: 4 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0005369/0.3433, allocations: 173.3 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.3433, allocations: 55.41 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.3435, allocations: 157.1 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.3435, allocations: 25.7 kB / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.785e-05/0.3436, allocations: 128.2 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.3437, allocations: 31.55 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.335e-05/0.3437, allocations: 37.7 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3439, allocations: 330.7 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.344, allocations: 43.97 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.3442, allocations: 79.33 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.3444, allocations: 103.3 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3444, allocations: 4 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003368/0.3448, allocations: 157.8 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.3448, allocations: 6.969 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.3448, allocations: 0 / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.3449, allocations: 7.938 kB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.345, allocations: 27.95 kB / 1.033 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.345, allocations: 7.938 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.501e-05/0.3451, allocations: 23.92 kB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.3452, allocations: 12 kB / 1.033 GB, free: 11.79 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.0001152/0.3453, allocations: 133.7 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.3453, allocations: 7.906 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.237e-05/0.3454, allocations: 16.72 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3454, allocations: 0 / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3454, allocations: 0 / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3454, allocations: 3.984 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.3457, allocations: 237.4 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3457, allocations: 4 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.3458, allocations: 23.91 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3458, allocations: 4 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.3458, allocations: 4 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3458, allocations: 0 / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3458, allocations: 0 / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.3462, allocations: 235.3 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.3462, allocations: 92.86 kB / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.3463, allocations: 3.984 kB / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3464, allocations: 8 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.032e-05/0.3465, allocations: 19.97 kB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.3465, allocations: 4 kB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.225e-05/0.3466, allocations: 109.1 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3466, allocations: 0 / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002452/0.3468, allocations: 28 kB / 1.033 GB, free: 10.77 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.0001314/0.347, allocations: 107.2 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003422/0.3473, allocations: 115.9 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3473, allocations: 0 / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.3475, allocations: 64.09 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.3478, allocations: 15.92 kB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005208/0.3484, allocations: 272.8 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.3487, allocations: 0.7162 MB / 1.035 GB, free: 9.434 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.633e-05/0.3488, allocations: 21.02 kB / 1.035 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.3488, allocations: 15.44 kB / 1.035 GB, free: 9.398 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.3488, allocations: 0 / 1.035 GB, free: 9.398 MB / 0.8106 GB Notification: Performance of Templates: time 0.004144/0.353, allocations: 1.25 MB / 1.036 GB, free: 8.199 MB / 0.8106 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 -s gbode -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/jenkins1/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