Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.ParallelFanCVF.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.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 107.4 kB / 15.34 MB, free: 0.4961 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.002187/0.002187, allocations: 190.2 kB / 16.25 MB, free: 6.641 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.55/1.55, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.095/3.095, allocations: 472.6 MB / 0.7448 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001338, allocations: 62.47 kB / 0.9116 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3938, allocations: 159.9 MB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002478/0.3963, allocations: 1.065 MB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3975, allocations: 0.9675 MB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.444e-05/0.3976, allocations: 3.938 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.417e-05/0.3977, allocations: 7.922 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.3979, allocations: 19.86 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.3981, allocations: 47.97 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.3983, allocations: 172 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.3985, allocations: 80.19 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.3986, allocations: 79.64 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.3988, allocations: 75.69 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.3988, allocations: 16 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.799e-05/0.3988, allocations: 20 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.902e-05/0.3989, allocations: 39.84 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.899e-05/0.3989, allocations: 75.58 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.3992, allocations: 203.5 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3992, allocations: 0 / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.276e-06/0.3992, allocations: 0 / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.3992, allocations: 3.938 kB / 1.071 GB, free: 7.766 MB / 0.8262 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.0006808/0.3999, allocations: 450.9 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.4, allocations: 8.031 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.4, allocations: 16.75 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.4004, allocations: 252 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.4005, allocations: 8.375 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.4005, allocations: 12.38 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.4009, allocations: 150 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.4009, allocations: 192 / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.4009, allocations: 15.94 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.4009, allocations: 7.984 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000329/0.4013, allocations: 119.8 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000713/0.402, allocations: 484 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.4023, allocations: 118.6 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.4025, allocations: 56.83 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.4025, allocations: 7.984 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.4025, allocations: 34.5 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.4025, allocations: 0 / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0005695/0.4031, allocations: 173.4 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.4032, allocations: 55.41 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.4033, allocations: 154.3 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.4033, allocations: 25.7 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.706e-05/0.4034, allocations: 120.2 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.4035, allocations: 31.55 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-05/0.4035, allocations: 41.7 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.4037, allocations: 322.8 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.4038, allocations: 47.97 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.404, allocations: 77.16 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.4043, allocations: 115.3 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4043, allocations: 0 / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003648/0.4047, allocations: 157.7 kB / 1.073 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.4047, allocations: 7.938 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.4047, allocations: 8.094 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.4047, allocations: 0 / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.4049, allocations: 27.98 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.4049, allocations: 3.984 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.652e-05/0.405, allocations: 11.94 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.405, allocations: 4 kB / 1.074 GB, free: 4.449 MB / 0.8262 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 0.0001182/0.4052, allocations: 137.7 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.4052, allocations: 19.81 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.4053, allocations: 12.72 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.4053, allocations: 7.984 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.4053, allocations: 0 / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4053, allocations: 0 / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.4056, allocations: 233.5 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4056, allocations: 3.938 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.4057, allocations: 23.97 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.4057, allocations: 0 / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.4057, allocations: 7.938 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4057, allocations: 4 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4058, allocations: 4 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.4061, allocations: 231.2 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.4062, allocations: 84.95 kB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.4062, allocations: 4 kB / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.4063, allocations: 15.98 kB / 1.074 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.778e-05/0.4064, allocations: 19.97 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.994e-06/0.4064, allocations: 0 / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.935e-05/0.4065, allocations: 113.5 kB / 1.074 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.403e-06/0.4065, allocations: 0 / 1.074 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002579/0.4068, allocations: 27.84 kB / 1.074 GB, free: 3.418 MB / 0.8262 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.0001589/0.4069, allocations: 120.7 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000389/0.4073, allocations: 115.9 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4073, allocations: 0 / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.4075, allocations: 59.91 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.4079, allocations: 19.98 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006232/0.4085, allocations: 313.1 kB / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.4088, allocations: 0.7162 MB / 1.076 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.622e-05/0.4089, allocations: 13.09 kB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.303e-05/0.409, allocations: 23.36 kB / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.409, allocations: 0 / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of Templates: time 0.003952/0.4129, allocations: 1.157 MB / 1.077 GB, free: 0.8906 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches