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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008905/0.0008907, allocations: 92.55 kB / 16.02 MB, free: 80 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.001395/0.001396, allocations: 178.5 kB / 16.92 MB, free: 6.652 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.481/1.481, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.905/2.905, allocations: 462.6 MB / 0.7371 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004865/0.0004863, allocations: 21.55 kB / 0.9035 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3777, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001606/0.3793, allocations: 0.7205 MB / 1.06 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.3809, allocations: 0.9675 MB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.3811, allocations: 0 / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.273e-05/0.3812, allocations: 11.86 kB / 1.061 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.3814, allocations: 15.86 kB / 1.061 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.3817, allocations: 51.95 kB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.3819, allocations: 152 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002649/0.3822, allocations: 92.08 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.3824, allocations: 51.72 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.3825, allocations: 51.7 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.3826, allocations: 4 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.928e-05/0.3826, allocations: 4 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.021e-05/0.3827, allocations: 27.83 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.749e-05/0.3828, allocations: 81.31 kB / 1.062 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.383, allocations: 163.8 kB / 1.062 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.383, allocations: 0 / 1.062 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.113e-06/0.383, allocations: 0 / 1.062 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.383, allocations: 0 / 1.062 GB, free: 2.57 MB / 0.8106 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.0007479/0.3838, allocations: 423 kB / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.3838, allocations: 15.91 kB / 1.062 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.643e-05/0.3839, allocations: 16.75 kB / 1.062 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005254/0.3844, allocations: 265.3 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.3845, allocations: 12.38 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.3845, allocations: 12.38 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/0.3849, allocations: 158 kB / 1.063 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3849, allocations: 4.172 kB / 1.063 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.385, allocations: 7.938 kB / 1.063 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.385, allocations: 4 kB / 1.063 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003599/0.3853, allocations: 127.9 kB / 1.063 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008887/0.3862, allocations: 484.1 kB / 1.063 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/0.3866, allocations: 130.6 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.3868, allocations: 56.83 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.3868, allocations: 4 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.3868, allocations: 34.55 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.753e-06/0.3869, allocations: 0 / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0006148/0.3875, allocations: 205.6 kB / 1.064 GB, free: 492 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.3875, allocations: 51.41 kB / 1.064 GB, free: 428 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.3877, allocations: 153 kB / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.3877, allocations: 29.7 kB / 1.064 GB, free: 224 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.731e-05/0.3878, allocations: 128.2 kB / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.3879, allocations: 35.44 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.3879, allocations: 29.7 kB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3881, allocations: 326.8 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.3883, allocations: 43.97 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.3885, allocations: 83.39 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.3888, allocations: 127.4 kB / 1.065 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3888, allocations: 0 / 1.065 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004054/0.3892, allocations: 165.4 kB / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3892, allocations: 13.81 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.3892, allocations: 4 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3893, allocations: 0 / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.3894, allocations: 27.98 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.3895, allocations: 8.078 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.3896, allocations: 15.91 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.3896, allocations: 11.98 kB / 1.065 GB, free: 15.17 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.0001353/0.3897, allocations: 133.7 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.3898, allocations: 7.906 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.433e-05/0.3898, allocations: 16.72 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.3898, allocations: 0 / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.3898, allocations: 4 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.3899, allocations: 0 / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.3901, allocations: 245.4 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3901, allocations: 0 / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.3903, allocations: 23.97 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.3903, allocations: 0 / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.3903, allocations: 4 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3903, allocations: 0 / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3903, allocations: 3.938 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/0.3908, allocations: 247.3 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.3908, allocations: 88.92 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.3908, allocations: 4 kB / 1.066 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.391, allocations: 15.98 kB / 1.066 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/0.391, allocations: 19.97 kB / 1.066 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.3911, allocations: 0 / 1.066 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.757e-05/0.3912, allocations: 113.2 kB / 1.066 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3912, allocations: 4 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002624/0.3914, allocations: 23.94 kB / 1.066 GB, free: 14.14 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.0001485/0.3916, allocations: 118.1 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003858/0.392, allocations: 120 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.392, allocations: 4 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.3922, allocations: 63.91 kB / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.3925, allocations: 19.92 kB / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006478/0.3932, allocations: 354.3 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.3935, allocations: 0.7165 MB / 1.067 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.699e-05/0.3936, allocations: 23.42 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.3936, allocations: 0 / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of Templates: time 0.004198/0.3978, allocations: 1.659 MB / 1.069 GB, free: 11.01 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/jenkins1/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