Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00149/0.00149, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001629/0.001629, allocations: 195.4 kB / 16.91 MB, free: 6.195 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.459/1.459, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.611/2.611, allocations: 437 MB / 0.7107 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001768, allocations: 63.94 kB / 0.8694 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3306, allocations: 151.6 MB / 1.018 GB, free: 10.99 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002531/0.3332, allocations: 1.077 MB / 1.019 GB, free: 9.906 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.3344, allocations: 0.9558 MB / 1.019 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.525e-05/0.3345, allocations: 0 / 1.019 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.453e-05/0.3345, allocations: 7.875 kB / 1.02 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.3347, allocations: 23.84 kB / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.3349, allocations: 51.97 kB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.335, allocations: 159.6 kB / 1.02 GB, free: 8.699 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002199/0.3353, allocations: 80.19 kB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.3354, allocations: 75.69 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.3355, allocations: 71.69 kB / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.3356, allocations: 16 kB / 1.02 GB, free: 8.457 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.277e-05/0.3356, allocations: 16 kB / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.037e-05/0.3357, allocations: 31.86 kB / 1.02 GB, free: 8.41 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.636e-05/0.3358, allocations: 71.66 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.336, allocations: 163.8 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.336, allocations: 0 / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.304e-06/0.336, allocations: 0 / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.336, allocations: 0 / 1.02 GB, free: 8.18 MB / 0.795 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.0006853/0.3367, allocations: 451.1 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3368, allocations: 12.92 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.3368, allocations: 16.75 kB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.3373, allocations: 244.3 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.3373, allocations: 12.66 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.3373, allocations: 16.38 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.3377, allocations: 148.9 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3377, allocations: 4.125 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.3377, allocations: 7.938 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3377, allocations: 4 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.338, allocations: 108.8 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006854/0.3387, allocations: 480.1 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.339, allocations: 110.5 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.3392, allocations: 52.83 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.3392, allocations: 0 / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.3392, allocations: 34.56 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 9.11e-07/0.3393, allocations: 0 / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.0005459/0.3398, allocations: 169.4 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.3399, allocations: 55.34 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.34, allocations: 157.1 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.34, allocations: 29.7 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.518e-05/0.3401, allocations: 115.8 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.3402, allocations: 35.55 kB / 1.022 GB, free: 5.758 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/0.3402, allocations: 37.7 kB / 1.022 GB, free: 5.715 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.3404, allocations: 322.8 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.3405, allocations: 43.97 kB / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.3407, allocations: 71.39 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.341, allocations: 103.3 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.341, allocations: 0 / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003299/0.3413, allocations: 149.4 kB / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3413, allocations: 7.984 kB / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.3413, allocations: 8.094 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.3414, allocations: 4 kB / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.3415, allocations: 23.92 kB / 1.023 GB, free: 4.957 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.3416, allocations: 4 kB / 1.023 GB, free: 4.953 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.435e-05/0.3417, allocations: 15.83 kB / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.3417, allocations: 8 kB / 1.023 GB, free: 4.93 MB / 0.795 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.0001143/0.3418, allocations: 134.1 kB / 1.023 GB, free: 4.793 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.3418, allocations: 11.91 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.3419, allocations: 16.7 kB / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.3419, allocations: 7.938 kB / 1.023 GB, free: 4.758 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3419, allocations: 0 / 1.023 GB, free: 4.758 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3419, allocations: 0 / 1.023 GB, free: 4.758 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.3421, allocations: 237.4 kB / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3422, allocations: 0 / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.3423, allocations: 19.98 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.3423, allocations: 0 / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.3423, allocations: 7.875 kB / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3423, allocations: 4 kB / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3423, allocations: 0 / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.3427, allocations: 227.9 kB / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.945e-05/0.3428, allocations: 92.94 kB / 1.024 GB, free: 4.098 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.3428, allocations: 0 / 1.024 GB, free: 4.098 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.3429, allocations: 12 kB / 1.024 GB, free: 4.086 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/0.343, allocations: 23.95 kB / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/0.343, allocations: 0 / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.794e-05/0.3431, allocations: 118.2 kB / 1.024 GB, free: 3.949 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3431, allocations: 0 / 1.024 GB, free: 3.949 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002442/0.3434, allocations: 27.84 kB / 1.024 GB, free: 3.922 MB / 0.795 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.0001415/0.3435, allocations: 107.2 kB / 1.024 GB, free: 3.809 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003749/0.3439, allocations: 115.8 kB / 1.024 GB, free: 3.695 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3439, allocations: 0 / 1.024 GB, free: 3.695 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.344, allocations: 55.91 kB / 1.024 GB, free: 3.641 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.3444, allocations: 20.45 kB / 1.024 GB, free: 3.625 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000613/0.345, allocations: 338.6 kB / 1.025 GB, free: 3.262 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.3454, allocations: 0.7123 MB / 1.025 GB, free: 2.523 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.806e-05/0.3454, allocations: 19.42 kB / 1.025 GB, free: 2.504 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.3454, allocations: 7.938 kB / 1.025 GB, free: 2.496 MB / 0.795 GB Notification: Performance of Templates: time 0.003356/0.3488, allocations: 1.639 MB / 1.027 GB, free: 0.8633 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches