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.01103/0.01103, allocations: 103.4 kB / 15.73 MB, free: 6.445 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.001828/0.001828, allocations: 190.6 kB / 16.67 MB, free: 6.355 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.535/1.535, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.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.553/2.553, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001306, allocations: 71.14 kB / 0.9509 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3652, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002343/0.3676, allocations: 1.007 MB / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.3688, allocations: 0.9674 MB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.659e-05/0.3689, allocations: 4 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.02e-05/0.369, allocations: 19.73 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.3691, allocations: 15.81 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.3694, allocations: 67.88 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.3695, allocations: 159.6 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.3698, allocations: 80.19 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.3699, allocations: 71.7 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.37, allocations: 67.69 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.3701, allocations: 16 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.45e-05/0.3701, allocations: 20 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.838e-05/0.3701, allocations: 39.84 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.412e-05/0.3702, allocations: 67.66 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.3704, allocations: 207.1 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3704, allocations: 0 / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3705, allocations: 0 / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.3705, allocations: 4 kB / 1.091 GB, free: 14.66 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.0006704/0.3711, allocations: 439.2 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3712, allocations: 16.02 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.3712, allocations: 16.75 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.3717, allocations: 253.8 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.3717, allocations: 12.59 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.3718, allocations: 16.31 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.3721, allocations: 148 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3721, allocations: 11.97 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.3721, allocations: 4 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3721, allocations: 4 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.3725, allocations: 112.7 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006284/0.3731, allocations: 468.1 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.3734, allocations: 106.6 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.3735, allocations: 48.83 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.3736, allocations: 3.984 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.3736, allocations: 34.56 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.3736, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005366/0.3742, allocations: 173.4 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.3742, allocations: 55.41 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.3743, allocations: 154.3 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.3744, allocations: 29.7 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.937e-05/0.3744, allocations: 119.7 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.3745, allocations: 35.55 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/0.3745, allocations: 37.7 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3747, allocations: 322.8 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.3748, allocations: 43.97 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.375, allocations: 75.39 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.3752, allocations: 107.3 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3752, allocations: 0 / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003522/0.3756, allocations: 149.4 kB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3756, allocations: 6.031 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3756, allocations: 0 / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3757, allocations: 4 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.3758, allocations: 31.91 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.423e-06/0.3758, allocations: 4 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.455e-05/0.3759, allocations: 11.98 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.376, allocations: 7.938 kB / 1.094 GB, free: 11.43 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.0001104/0.3761, allocations: 129.9 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.3761, allocations: 11.81 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.3762, allocations: 20.64 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3762, allocations: 0 / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3762, allocations: 0 / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.3762, allocations: 4 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.3764, allocations: 237.5 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3764, allocations: 0 / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.3766, allocations: 35.86 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3766, allocations: 0 / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.3766, allocations: 0 / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3766, allocations: 0 / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3766, allocations: 0 / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.377, allocations: 223.3 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.377, allocations: 100.9 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.3771, allocations: 3.984 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3772, allocations: 7.938 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.092e-05/0.3773, allocations: 19.97 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.3773, allocations: 4 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.04e-05/0.3773, allocations: 115.1 kB / 1.094 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3774, allocations: 0 / 1.094 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000242/0.3776, allocations: 23.94 kB / 1.095 GB, free: 10.41 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.0001295/0.3777, allocations: 111.2 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003541/0.3781, allocations: 104.5 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3781, allocations: 0 / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.3783, allocations: 60.12 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.3786, allocations: 13.83 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.3791, allocations: 264.7 kB / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.3794, allocations: 0.7161 MB / 1.096 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.153e-05/0.3794, allocations: 16.64 kB / 1.096 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.115e-05/0.3795, allocations: 23.44 kB / 1.096 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.3795, allocations: 0 / 1.096 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of Templates: time 0.004239/0.3838, allocations: 1.256 MB / 1.097 GB, free: 7.848 MB / 0.8575 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