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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001247/0.001247, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.001406/0.001406, allocations: 187 kB / 17.34 MB, free: 5.766 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.562/2.562, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 67.89 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8157/0.8171, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002125/0.8192, allocations: 1.017 MB / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.8204, allocations: 0.9713 MB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.8205, allocations: 8 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.716e-05/0.8206, allocations: 15.8 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.8207, allocations: 15.75 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.821, allocations: 71.86 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.8212, allocations: 164 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.8213, allocations: 92.16 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.8215, allocations: 71.72 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.8216, allocations: 75.62 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.8217, allocations: 16 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.388e-05/0.8217, allocations: 19.94 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.487e-05/0.8217, allocations: 39.89 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.943e-05/0.8218, allocations: 71.61 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.822, allocations: 215 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.822, allocations: 4 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.432e-06/0.822, allocations: 0 / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.822, allocations: 4 kB / 1.211 GB, free: 10.8 MB / 0.9356 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.0006242/0.8227, allocations: 440.8 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.8227, allocations: 8.031 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.154e-05/0.8228, allocations: 20.73 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.8232, allocations: 257.2 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.8232, allocations: 16.38 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.8233, allocations: 12.38 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.8236, allocations: 150 kB / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.8236, allocations: 4.125 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.8236, allocations: 19.92 kB / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.8236, allocations: 0 / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000328/0.824, allocations: 111.9 kB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006167/0.8246, allocations: 484.1 kB / 1.213 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.8249, allocations: 114.6 kB / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.825, allocations: 60.81 kB / 1.213 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.8251, allocations: 4 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.8251, allocations: 34.5 kB / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.8251, allocations: 0 / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.000518/0.8256, allocations: 173.4 kB / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.8257, allocations: 55.39 kB / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.8258, allocations: 158.3 kB / 1.213 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.8258, allocations: 25.7 kB / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.8259, allocations: 120.2 kB / 1.213 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.8259, allocations: 31.55 kB / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.089e-05/0.826, allocations: 45.69 kB / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.294e-05/0.8261, allocations: 322.8 kB / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.8262, allocations: 43.97 kB / 1.214 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.8264, allocations: 83.27 kB / 1.214 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.8267, allocations: 111.3 kB / 1.214 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.8267, allocations: 0 / 1.214 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003443/0.827, allocations: 153.3 kB / 1.214 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.8271, allocations: 10.34 kB / 1.214 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.8271, allocations: 0 / 1.214 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.8271, allocations: 0 / 1.214 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.8273, allocations: 36.06 kB / 1.214 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.8273, allocations: 3.938 kB / 1.214 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.661e-05/0.8274, allocations: 15.98 kB / 1.214 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.8274, allocations: 4 kB / 1.214 GB, free: 7.488 MB / 0.9356 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 9.757e-05/0.8275, allocations: 132.2 kB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.8276, allocations: 15.81 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.809e-05/0.8276, allocations: 16.7 kB / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.8276, allocations: 4 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.8276, allocations: 4 kB / 1.214 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.8276, allocations: 3.938 kB / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.8279, allocations: 233.5 kB / 1.215 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.8279, allocations: 0 / 1.215 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.828, allocations: 23.92 kB / 1.215 GB, free: 7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.828, allocations: 0 / 1.215 GB, free: 7 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.828, allocations: 4 kB / 1.215 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.828, allocations: 7.984 kB / 1.215 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.8281, allocations: 0 / 1.215 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.8284, allocations: 235.2 kB / 1.215 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.8285, allocations: 89 kB / 1.215 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.8285, allocations: 0 / 1.215 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.8286, allocations: 7.984 kB / 1.215 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.965e-05/0.8287, allocations: 19.98 kB / 1.215 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.8287, allocations: 7.938 kB / 1.215 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.719e-05/0.8288, allocations: 115.2 kB / 1.215 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8288, allocations: 0 / 1.215 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002471/0.829, allocations: 31.84 kB / 1.215 GB, free: 6.457 MB / 0.9356 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.000122/0.8291, allocations: 107.2 kB / 1.215 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003396/0.8295, allocations: 112.7 kB / 1.215 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.8295, allocations: 0 / 1.215 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.8297, allocations: 59.95 kB / 1.215 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.83, allocations: 8.438 kB / 1.215 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000521/0.8305, allocations: 310.5 kB / 1.216 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.8308, allocations: 0.7162 MB / 1.216 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.478e-05/0.8308, allocations: 15.44 kB / 1.216 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of SimCode: time 1.553e-06/0.8308, allocations: 0 / 1.216 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of Templates: time 0.003148/0.834, allocations: 1.71 MB / 1.218 GB, free: 3.375 MB / 0.9356 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 -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