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.008547/0.008547, allocations: 100.6 kB / 15.73 MB, free: 6.004 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.00158/0.00158, allocations: 196.8 kB / 16.68 MB, free: 5.926 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.423/2.423, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.001281, allocations: 67.89 kB / 0.9509 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069/1.07, 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.002798/1.073, allocations: 1.001 MB / 1.089 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001647/1.075, allocations: 0.9607 MB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/1.075, allocations: 2.75 kB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.887e-05/1.075, allocations: 19.31 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001277/1.075, allocations: 30.92 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/1.075, allocations: 65.06 kB / 1.09 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002841/1.075, allocations: 153.9 kB / 1.09 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003003/1.076, allocations: 86.42 kB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/1.076, allocations: 64.59 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/1.076, allocations: 79.81 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.877e-05/1.076, allocations: 20.03 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.824e-05/1.076, allocations: 15.66 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.47e-05/1.076, allocations: 31.59 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.039e-05/1.076, allocations: 74.98 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003312/1.077, allocations: 209.4 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/1.077, allocations: 0.6562 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/1.077, allocations: 0 / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.022e-05/1.077, allocations: 0.6875 kB / 1.091 GB, free: 3.676 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.000762/1.077, allocations: 441.3 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/1.078, allocations: 9.5 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.307e-05/1.078, allocations: 21.41 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/1.078, allocations: 251.6 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/1.078, allocations: 10.72 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/1.078, allocations: 13.56 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/1.078, allocations: 146 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/1.078, allocations: 0 / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/1.079, allocations: 5.438 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/1.079, allocations: 3.922 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003622/1.079, allocations: 115.4 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007048/1.08, allocations: 472.6 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/1.08, allocations: 104.8 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/1.08, allocations: 49.92 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/1.08, allocations: 1.625 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/1.08, allocations: 39.92 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/1.08, allocations: 0 / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005727/1.081, allocations: 165.8 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/1.081, allocations: 53.06 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/1.081, allocations: 161.9 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/1.081, allocations: 27.12 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.596e-05/1.081, allocations: 131.9 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/1.081, allocations: 29.98 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-05/1.081, allocations: 43.02 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.673e-05/1.081, allocations: 324.6 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/1.081, allocations: 43.67 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/1.082, allocations: 72.36 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/1.082, allocations: 103.3 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.082, allocations: 0.6875 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003885/1.082, allocations: 155.6 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/1.082, allocations: 6.422 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.082, allocations: 0.8438 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/1.082, allocations: 1.625 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/1.083, allocations: 28.17 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/1.083, allocations: 2.656 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.659e-05/1.083, allocations: 26.06 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/1.083, allocations: 8.562 kB / 1.094 GB, free: 1.426 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 9.021e-05/1.083, allocations: 125.1 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/1.083, allocations: 13.19 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.625e-05/1.083, allocations: 16.59 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/1.083, allocations: 1.344 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.083, allocations: 0.6562 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.083, allocations: 2.016 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/1.083, allocations: 235.1 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.083, allocations: 0 / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/1.083, allocations: 24.02 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/1.083, allocations: 0.625 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/1.083, allocations: 6.219 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.083, allocations: 0.8125 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.083, allocations: 0.6562 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/1.084, allocations: 228.5 kB / 1.094 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.946e-05/1.084, allocations: 92.84 kB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/1.084, allocations: 1.859 kB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/1.084, allocations: 11.77 kB / 1.094 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.102e-05/1.084, allocations: 19.89 kB / 1.094 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/1.084, allocations: 3.312 kB / 1.094 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.165e-05/1.084, allocations: 114.8 kB / 1.094 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.084, allocations: 0 / 1.094 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002632/1.084, allocations: 21.66 kB / 1.094 GB, free: 0.6758 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.0001279/1.085, allocations: 107.1 kB / 1.095 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000437/1.085, allocations: 109.6 kB / 1.095 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/1.085, allocations: 0 / 1.095 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/1.085, allocations: 68.02 kB / 1.095 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/1.085, allocations: 10.45 kB / 1.095 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005782/1.086, allocations: 264.3 kB / 1.095 GB, free: 348 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/1.086, allocations: 0.7146 MB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.114e-05/1.086, allocations: 20.81 kB / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/1.087, allocations: 16.97 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/1.087, allocations: 0.5625 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of Templates: time 0.005164/1.092, allocations: 1.228 MB / 1.097 GB, free: 15.53 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