Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.009694/0.009693, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001692/0.001692, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.498/1.498, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.442/2.442, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 59.91 kB / 0.9509 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144/1.146, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002223/1.148, allocations: 1.01 MB / 1.089 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00114/1.149, allocations: 0.962 MB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.176e-05/1.149, allocations: 5.75 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.386e-05/1.149, allocations: 15.83 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/1.149, allocations: 23.75 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/1.15, allocations: 68.31 kB / 1.09 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002167/1.15, allocations: 153.2 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/1.15, allocations: 81.92 kB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/1.15, allocations: 73.56 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/1.15, allocations: 74.42 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.334e-05/1.15, allocations: 16.44 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.637e-05/1.151, allocations: 16.34 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/1.151, allocations: 30.17 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.383e-05/1.151, allocations: 75.86 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002951/1.151, allocations: 206.2 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.151, allocations: 0 / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.204e-06/1.151, allocations: 1.438 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.797e-06/1.151, allocations: 0 / 1.091 GB, free: 3.68 MB / 0.8575 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.0006613/1.152, allocations: 446.6 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/1.152, allocations: 8.781 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/1.152, allocations: 17.8 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/1.152, allocations: 254.2 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/1.152, allocations: 10.41 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/1.152, allocations: 18.19 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003601/1.153, allocations: 145.4 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/1.153, allocations: 0.875 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/1.153, allocations: 5.125 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/1.153, allocations: 3.438 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003872/1.153, allocations: 115.2 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006716/1.154, allocations: 473.1 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/1.154, allocations: 104.6 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/1.154, allocations: 54.11 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/1.154, allocations: 1.719 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/1.154, allocations: 39.31 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.683e-06/1.154, allocations: 0 / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005846/1.155, allocations: 162.5 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/1.155, allocations: 53.53 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/1.155, allocations: 157 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/1.155, allocations: 26.39 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/1.155, allocations: 127.8 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/1.155, allocations: 30.19 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.475e-05/1.155, allocations: 42.62 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.677e-05/1.155, allocations: 324.7 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/1.156, allocations: 43.28 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/1.156, allocations: 72.84 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/1.156, allocations: 103.5 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.156, allocations: 0 / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003795/1.156, allocations: 156.1 kB / 1.094 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.156, allocations: 5.344 kB / 1.094 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.156, allocations: 1.688 kB / 1.094 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/1.157, allocations: 1.625 kB / 1.094 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/1.157, allocations: 28.53 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/1.157, allocations: 2.641 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/1.157, allocations: 21.61 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/1.157, allocations: 9.172 kB / 1.094 GB, free: 1.434 MB / 0.8575 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.0001094/1.157, allocations: 122.8 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/1.157, allocations: 12.84 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/1.157, allocations: 16.67 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/1.157, allocations: 1.25 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.157, allocations: 0 / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.157, allocations: 1.719 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/1.157, allocations: 235.8 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.157, allocations: 4.797 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/1.158, allocations: 27.2 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/1.158, allocations: 0.5938 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/1.158, allocations: 6.453 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/1.158, allocations: 0.7969 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.158, allocations: 0.8125 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/1.158, allocations: 228.5 kB / 1.094 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/1.158, allocations: 92.75 kB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/1.158, allocations: 6 kB / 1.094 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/1.158, allocations: 7.75 kB / 1.094 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.28e-05/1.158, allocations: 16.19 kB / 1.094 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/1.158, allocations: 3.125 kB / 1.094 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.193e-05/1.158, allocations: 116.4 kB / 1.094 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.158, allocations: 4 kB / 1.094 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002571/1.159, allocations: 17.75 kB / 1.094 GB, free: 0.6797 MB / 0.8575 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.0001509/1.159, allocations: 113.2 kB / 1.095 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000412/1.159, allocations: 112.7 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.159, allocations: 192 / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001734/1.159, allocations: 60.61 kB / 1.095 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/1.16, allocations: 10.25 kB / 1.095 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/1.16, allocations: 267 kB / 1.095 GB, free: 348 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/1.161, allocations: 0.7145 MB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.722e-05/1.161, allocations: 21.62 kB / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.847e-05/1.161, allocations: 16.94 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/1.161, allocations: 0.7188 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of Templates: time 0.004913/1.166, allocations: 1.233 MB / 1.097 GB, free: 15.52 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches