Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 98.56 kB / 16.02 MB, free: 76 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.001928/0.001928, allocations: 185.8 kB / 16.92 MB, free: 6.75 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.49/1.49, 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.874/2.874, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005257/0.0005259, allocations: 12.69 kB / 0.9035 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.384, allocations: 159.6 MB / 1.059 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001504/0.3856, allocations: 0.7205 MB / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.3872, allocations: 0.9597 MB / 1.061 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.3873, allocations: 4 kB / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.373e-05/0.3874, allocations: 11.86 kB / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.3875, allocations: 15.86 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.3878, allocations: 51.95 kB / 1.061 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.388, allocations: 152.1 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002431/0.3883, allocations: 84.08 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.3885, allocations: 51.72 kB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.3886, allocations: 55.69 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.3886, allocations: 4 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.213e-05/0.3886, allocations: 8 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.152e-05/0.3887, allocations: 23.86 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.222e-05/0.3888, allocations: 77.31 kB / 1.062 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.389, allocations: 163.8 kB / 1.062 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.389, allocations: 0 / 1.062 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.623e-06/0.389, allocations: 0 / 1.062 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.389, allocations: 0 / 1.062 GB, free: 2.543 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.0007024/0.3897, allocations: 431 kB / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.3898, allocations: 19.91 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.407e-05/0.3899, allocations: 16.75 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004946/0.3904, allocations: 260 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.3904, allocations: 16.31 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.3904, allocations: 12.38 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.3908, allocations: 154 kB / 1.063 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3908, allocations: 4.188 kB / 1.063 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.3909, allocations: 7.938 kB / 1.063 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.3909, allocations: 8 kB / 1.063 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003762/0.3913, allocations: 127.9 kB / 1.063 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007355/0.392, allocations: 484.1 kB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.3923, allocations: 126.6 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.3925, allocations: 60.83 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.3926, allocations: 0 / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.3926, allocations: 34.56 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 9.82e-07/0.3926, allocations: 4 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0006117/0.3932, allocations: 197.3 kB / 1.064 GB, free: 460 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.3933, allocations: 55.41 kB / 1.064 GB, free: 392 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.3934, allocations: 157 kB / 1.064 GB, free: 220 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3934, allocations: 25.7 kB / 1.064 GB, free: 188 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.024e-05/0.3935, allocations: 128.1 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.3936, allocations: 31.55 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-05/0.3936, allocations: 29.7 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.3938, allocations: 326.8 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.3939, allocations: 51.97 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.3941, allocations: 78.06 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.3944, allocations: 123.8 kB / 1.065 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3944, allocations: 0 / 1.065 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003994/0.3949, allocations: 169.3 kB / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3949, allocations: 9.656 kB / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3949, allocations: 4 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3949, allocations: 3.984 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.3951, allocations: 23.98 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.3951, allocations: 4 kB / 1.065 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.3952, allocations: 19.89 kB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.3952, allocations: 4 kB / 1.065 GB, free: 15.15 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.0001308/0.3954, allocations: 145.7 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.3954, allocations: 11.89 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.251e-05/0.3955, allocations: 16.7 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3955, allocations: 4 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.3955, allocations: 3.938 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3955, allocations: 0 / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.3958, allocations: 237.4 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3958, allocations: 4 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.3959, allocations: 23.98 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.3959, allocations: 0 / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.396, allocations: 11.98 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.396, allocations: 0 / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.396, allocations: 4 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004279/0.3964, allocations: 251.2 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.3965, allocations: 84.92 kB / 1.066 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.3965, allocations: 4 kB / 1.066 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.3966, allocations: 11.98 kB / 1.066 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.3967, allocations: 15.98 kB / 1.066 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.3967, allocations: 11.98 kB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.982e-05/0.3968, allocations: 109.3 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3968, allocations: 0 / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002622/0.3971, allocations: 27.94 kB / 1.066 GB, free: 14.1 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.0001307/0.3972, allocations: 104.6 kB / 1.066 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004059/0.3976, allocations: 123.9 kB / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3976, allocations: 11.88 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.3978, allocations: 64.14 kB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.3982, allocations: 12 kB / 1.066 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006182/0.3988, allocations: 357.6 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.3991, allocations: 0.7126 MB / 1.067 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/0.3991, allocations: 19.44 kB / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.3991, allocations: 4 kB / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of Templates: time 0.003421/0.4026, allocations: 1.661 MB / 1.069 GB, free: 10.98 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches