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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008925/0.0008924, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 180.7 kB / 16.92 MB, free: 6.652 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.458/1.458, allocations: 223.3 MB / 241 MB, free: 5.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.39/2.39, allocations: 390.9 MB / 0.667 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.0003781, allocations: 12 kB / 0.8167 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7248/0.7252, allocations: 142.4 MB / 0.9558 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001183/0.7264, allocations: 0.6994 MB / 0.9564 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009778/0.7274, allocations: 0.9596 MB / 0.9574 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.223e-05/0.7275, allocations: 1.062 kB / 0.9574 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/0.7275, allocations: 13.08 kB / 0.9574 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.7276, allocations: 16.98 kB / 0.9574 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.7278, allocations: 53.83 kB / 0.9575 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.728, allocations: 149.5 kB / 0.9576 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.7281, allocations: 73.38 kB / 0.9577 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.7283, allocations: 57.33 kB / 0.9577 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.591e-05/0.7284, allocations: 57.11 kB / 0.9578 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.7284, allocations: 4.781 kB / 0.9578 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.785e-05/0.7284, allocations: 7.5 kB / 0.9578 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.7285, allocations: 16.58 kB / 0.9578 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.513e-05/0.7285, allocations: 80.47 kB / 0.9579 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.7287, allocations: 147.5 kB / 0.958 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.7287, allocations: 0 / 0.958 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7287, allocations: 1.062 kB / 0.958 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.7287, allocations: 0 / 0.958 GB, free: 5.898 MB / 0.7169 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.0005046/0.7292, allocations: 435.3 kB / 0.9584 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.7292, allocations: 10.06 kB / 0.9585 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.7293, allocations: 15.69 kB / 0.9585 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.7297, allocations: 261.5 kB / 0.9587 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.7297, allocations: 14.19 kB / 0.9587 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.7298, allocations: 17.22 kB / 0.9587 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.7301, allocations: 151.1 kB / 0.9589 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.7302, allocations: 0 / 0.9589 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.7302, allocations: 5.125 kB / 0.9589 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.7302, allocations: 3.188 kB / 0.9589 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003805/0.7306, allocations: 133.2 kB / 0.959 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006507/0.7312, allocations: 476.5 kB / 0.9595 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.7316, allocations: 113.8 kB / 0.9596 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.7317, allocations: 62.64 kB / 0.9596 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.7318, allocations: 1.188 kB / 0.9596 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.7318, allocations: 31.62 kB / 0.9597 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.7318, allocations: 0 / 0.9597 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005814/0.7324, allocations: 192.1 kB / 0.9599 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.7324, allocations: 52.78 kB / 0.9599 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.7326, allocations: 157.3 kB / 0.9601 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.7326, allocations: 29.7 kB / 0.9601 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/0.7327, allocations: 124 kB / 0.9602 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.7327, allocations: 35.66 kB / 0.9602 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.7327, allocations: 20.59 kB / 0.9603 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.87e-05/0.7328, allocations: 325.5 kB / 0.9606 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.733, allocations: 55.45 kB / 0.9606 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.7331, allocations: 72.41 kB / 0.9607 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/0.7334, allocations: 119.7 kB / 0.9608 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.7335, allocations: 0 / 0.9608 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000353/0.7338, allocations: 163.7 kB / 0.961 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.7338, allocations: 5.5 kB / 0.961 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.7338, allocations: 3.938 kB / 0.961 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.7339, allocations: 2.75 kB / 0.961 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.734, allocations: 36.69 kB / 0.961 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.7341, allocations: 1.375 kB / 0.961 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.485e-05/0.7342, allocations: 17.47 kB / 0.961 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.7342, allocations: 12.05 kB / 0.961 GB, free: 3.352 MB / 0.7169 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 9.076e-05/0.7343, allocations: 131.9 kB / 0.9612 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.7343, allocations: 13.41 kB / 0.9612 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.7344, allocations: 11.47 kB / 0.9612 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.7344, allocations: 1.375 kB / 0.9612 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.7344, allocations: 0 / 0.9612 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.7344, allocations: 0 / 0.9612 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.7346, allocations: 234.4 kB / 0.9614 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7346, allocations: 0 / 0.9614 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.7347, allocations: 24.48 kB / 0.9614 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.7347, allocations: 5.266 kB / 0.9614 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.7347, allocations: 4 kB / 0.9614 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.7347, allocations: 1.344 kB / 0.9614 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.7348, allocations: 0 / 0.9614 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.7351, allocations: 248.8 kB / 0.9617 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.7352, allocations: 87.86 kB / 0.9618 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.7352, allocations: 0.9688 kB / 0.9618 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.7353, allocations: 12.11 kB / 0.9618 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.437e-05/0.7354, allocations: 14.39 kB / 0.9618 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.7354, allocations: 6.797 kB / 0.9618 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.033e-05/0.7355, allocations: 113.6 kB / 0.9619 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7355, allocations: 4 kB / 0.9619 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002429/0.7357, allocations: 25.88 kB / 0.9619 GB, free: 2.531 MB / 0.7169 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.0001231/0.7358, allocations: 106 kB / 0.962 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000388/0.7362, allocations: 125.1 kB / 0.9622 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7362, allocations: 3.938 kB / 0.9622 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.7364, allocations: 66.23 kB / 0.9622 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.7367, allocations: 14.14 kB / 0.9622 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.7373, allocations: 347.2 kB / 0.9626 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.7374, allocations: 0.711 MB / 0.9633 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.7375, allocations: 15.88 kB / 0.9633 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of SimCode: time 7.31e-07/0.7375, allocations: 0 / 0.9633 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of Templates: time 0.003377/0.7409, allocations: 1.627 MB / 0.9649 GB, free: 0.5078 MB / 0.7169 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/jenkins1/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