Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001697/0.001697, allocations: 106.2 kB / 16.37 MB, free: 6.477 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.001695/0.001695, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.473/1.473, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.551/2.551, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 61.28 kB / 0.8774 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3367, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002757/0.3395, allocations: 1.016 MB / 1.028 GB, free: 1.023 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.341, allocations: 0.9752 MB / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.3411, allocations: 3.938 kB / 1.029 GB, free: 32 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 7.057e-05/0.3412, allocations: 15.8 kB / 1.029 GB, free: 16 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.3414, allocations: 31.81 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.3416, allocations: 55.94 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.3419, allocations: 164 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.3421, allocations: 92.17 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.3423, allocations: 71.7 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.3425, allocations: 75.62 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.3425, allocations: 19.94 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.819e-05/0.3426, allocations: 20 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.756e-05/0.3426, allocations: 35.91 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.209e-05/0.3427, allocations: 67.61 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.343, allocations: 223.1 kB / 1.03 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.343, allocations: 0 / 1.03 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.343, allocations: 0 / 1.03 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.343, allocations: 0 / 1.03 GB, free: 15.17 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.0006965/0.3437, allocations: 454.9 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3438, allocations: 8.031 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.3438, allocations: 20.75 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.3442, allocations: 244 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.3443, allocations: 16.36 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.3443, allocations: 16.38 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.3446, allocations: 154.6 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.3447, allocations: 192 / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.3447, allocations: 7.938 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-06/0.3447, allocations: 4 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.345, allocations: 111.9 kB / 1.031 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006488/0.3457, allocations: 484.1 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.346, allocations: 126.5 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.3461, allocations: 48.83 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.3462, allocations: 3.984 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.3462, allocations: 42.5 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.3462, allocations: 0 / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0005281/0.3467, allocations: 177.3 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.3468, allocations: 55.41 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.3469, allocations: 152.2 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.3469, allocations: 29.7 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.347, allocations: 120.2 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.3471, allocations: 39.48 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/0.3471, allocations: 33.7 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.3472, allocations: 330.8 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.3474, allocations: 39.97 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.3475, allocations: 86.28 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.3478, allocations: 99.39 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3478, allocations: 7.938 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003657/0.3482, allocations: 149.5 kB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3482, allocations: 11.92 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3482, allocations: 0 / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3483, allocations: 4 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.3484, allocations: 23.98 kB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3485, allocations: 3.938 kB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.3486, allocations: 23.92 kB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.3486, allocations: 4 kB / 1.033 GB, free: 11.85 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.000107/0.3487, allocations: 135 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.3487, allocations: 7.906 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.3488, allocations: 20.7 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3488, allocations: 0 / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3488, allocations: 0 / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3488, allocations: 0 / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.3491, allocations: 245.4 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3491, allocations: 3.984 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.3492, allocations: 23.92 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3492, allocations: 4 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.3492, allocations: 3.984 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3492, allocations: 0 / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3492, allocations: 0 / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.3496, allocations: 239.8 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.3497, allocations: 92.86 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.3497, allocations: 3.938 kB / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.3498, allocations: 15.98 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.103e-05/0.3499, allocations: 11.98 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.3499, allocations: 4 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.921e-05/0.35, allocations: 113.1 kB / 1.033 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.35, allocations: 0 / 1.033 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002765/0.3503, allocations: 28 kB / 1.033 GB, free: 10.82 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.0002271/0.3506, allocations: 116.3 kB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004301/0.351, allocations: 107.9 kB / 1.034 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.351, allocations: 0 / 1.034 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.3512, allocations: 68.08 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.3517, allocations: 15.94 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008753/0.3526, allocations: 268.8 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.353, allocations: 0.7162 MB / 1.035 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000102/0.3531, allocations: 17.08 kB / 1.035 GB, free: 9.473 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.876e-05/0.3532, allocations: 15.44 kB / 1.035 GB, free: 9.457 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3532, allocations: 0 / 1.035 GB, free: 9.457 MB / 0.8106 GB Notification: Performance of Templates: time 0.004784/0.358, allocations: 1.25 MB / 1.036 GB, free: 8.254 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches