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.001376/0.001376, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 194.5 kB / 16.53 MB, free: 6.699 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.511/1.511, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.092/3.092, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 64.48 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3869, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002632/0.3896, allocations: 1.001 MB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.3909, allocations: 0.9791 MB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.043e-05/0.391, allocations: 4 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.314e-05/0.391, allocations: 19.73 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.3912, allocations: 19.75 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.3914, allocations: 67.86 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.3916, allocations: 164 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.3918, allocations: 92.19 kB / 1.071 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.392, allocations: 67.7 kB / 1.071 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.3921, allocations: 75.62 kB / 1.071 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.3921, allocations: 16 kB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.75e-05/0.3922, allocations: 20 kB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.778e-05/0.3922, allocations: 39.91 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.104e-05/0.3923, allocations: 71.59 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.3925, allocations: 207.5 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3925, allocations: 0 / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3925, allocations: 0 / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.3925, allocations: 0 / 1.071 GB, free: 7.52 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.0006655/0.3932, allocations: 446.9 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3933, allocations: 8.031 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.3933, allocations: 16.75 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.3937, allocations: 252 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.3938, allocations: 20.38 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.3938, allocations: 12.38 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.3941, allocations: 154 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3941, allocations: 4.125 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.3942, allocations: 11.94 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.3942, allocations: 8 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/0.3945, allocations: 107.9 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000638/0.3951, allocations: 496 kB / 1.073 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.3954, allocations: 122.6 kB / 1.073 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.3956, allocations: 48.83 kB / 1.073 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.3956, allocations: 4 kB / 1.073 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.3956, allocations: 34.56 kB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.3957, allocations: 0 / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0005267/0.3962, allocations: 181.3 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.3962, allocations: 55.41 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.3964, allocations: 153.5 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.3964, allocations: 33.7 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.509e-05/0.3965, allocations: 116.2 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.3965, allocations: 35.55 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-05/0.3966, allocations: 33.7 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3967, allocations: 330.8 kB / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.3968, allocations: 39.97 kB / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.397, allocations: 80.88 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.3973, allocations: 111.3 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3973, allocations: 4 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000333/0.3976, allocations: 153.3 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3976, allocations: 7.984 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.3976, allocations: 4 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3977, allocations: 0 / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.3978, allocations: 23.98 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.3978, allocations: 8.078 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.32e-05/0.3979, allocations: 15.92 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.398, allocations: 8 kB / 1.074 GB, free: 4.191 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.00012/0.3981, allocations: 131.5 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.3981, allocations: 11.81 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.634e-05/0.3982, allocations: 20.7 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3982, allocations: 0 / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/0.3982, allocations: 4 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3982, allocations: 7.938 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.3984, allocations: 233.5 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3985, allocations: 3.984 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.3986, allocations: 23.98 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3986, allocations: 0 / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.3986, allocations: 3.984 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3986, allocations: 0 / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3986, allocations: 0 / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.399, allocations: 243.2 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.3991, allocations: 88.95 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.3991, allocations: 4 kB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.3992, allocations: 11.98 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/0.3993, allocations: 15.98 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.3993, allocations: 3.938 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.067e-05/0.3994, allocations: 118.4 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3994, allocations: 4 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002461/0.3996, allocations: 23.91 kB / 1.075 GB, free: 3.16 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.0001295/0.3998, allocations: 107.8 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003583/0.4001, allocations: 120.6 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4001, allocations: 4 kB / 1.075 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.4003, allocations: 59.95 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.4006, allocations: 12.38 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005347/0.4012, allocations: 268.9 kB / 1.075 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.4014, allocations: 0.7162 MB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.922e-05/0.4015, allocations: 17.08 kB / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/0.4016, allocations: 27.42 kB / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.4016, allocations: 3.938 kB / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of Templates: time 0.004072/0.4057, allocations: 1.238 MB / 1.077 GB, free: 0.5938 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