Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.CoolingOnly.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|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0065/0.0065, allocations: 100.1 kB / 15.73 MB, free: 6.031 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.001303/0.001304, allocations: 187.7 kB / 16.67 MB, free: 5.965 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.53/1.53, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.934/2.934, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 63.91 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.385, allocations: 157.4 MB / 1.208 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002919/0.388, allocations: 1.015 MB / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.3895, allocations: 0.9874 MB / 1.21 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.3897, allocations: 0 / 1.21 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.035e-05/0.3898, allocations: 19.73 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.39, allocations: 23.73 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.3903, allocations: 55.94 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.3905, allocations: 172 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002354/0.3908, allocations: 96.3 kB / 1.21 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.391, allocations: 67.72 kB / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.3911, allocations: 75.61 kB / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.178e-05/0.3912, allocations: 16 kB / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.799e-05/0.3912, allocations: 23.94 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.011e-05/0.3913, allocations: 35.91 kB / 1.21 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.384e-05/0.3914, allocations: 75.59 kB / 1.21 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.3917, allocations: 227.1 kB / 1.211 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3917, allocations: 0 / 1.211 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.735e-06/0.3917, allocations: 0 / 1.211 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.3917, allocations: 4 kB / 1.211 GB, free: 6.695 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007769/0.3925, allocations: 446.9 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.3925, allocations: 8.625 kB / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.818e-05/0.3926, allocations: 20.73 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000463/0.3931, allocations: 257.6 kB / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.3931, allocations: 16.38 kB / 1.211 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.3931, allocations: 12.38 kB / 1.211 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.3935, allocations: 158.5 kB / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3935, allocations: 192 / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.3936, allocations: 11.88 kB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3936, allocations: 4 kB / 1.211 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003354/0.3939, allocations: 119.9 kB / 1.212 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007779/0.3947, allocations: 488 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.395, allocations: 122.6 kB / 1.212 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.3952, allocations: 52.83 kB / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.3952, allocations: 0 / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.3952, allocations: 38.56 kB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.213e-06/0.3952, allocations: 0 / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.000555/0.3958, allocations: 177.4 kB / 1.212 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.3959, allocations: 51.41 kB / 1.212 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.396, allocations: 160.4 kB / 1.213 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.396, allocations: 25.7 kB / 1.213 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.161e-05/0.3961, allocations: 128.1 kB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.3962, allocations: 31.55 kB / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.394e-05/0.3962, allocations: 41.64 kB / 1.213 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.3964, allocations: 330.8 kB / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.3965, allocations: 43.97 kB / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.3967, allocations: 71.39 kB / 1.213 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.397, allocations: 111.2 kB / 1.213 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.397, allocations: 0 / 1.213 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003579/0.3973, allocations: 149.5 kB / 1.214 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3974, allocations: 8.094 kB / 1.214 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3974, allocations: 0 / 1.214 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.3974, allocations: 4 kB / 1.214 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.3976, allocations: 27.91 kB / 1.214 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.3976, allocations: 4 kB / 1.214 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.3977, allocations: 19.84 kB / 1.214 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.3977, allocations: 11.92 kB / 1.214 GB, free: 3.355 MB / 0.9669 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.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.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.000115/0.3978, allocations: 133.8 kB / 1.214 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.3979, allocations: 7.906 kB / 1.214 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.744e-05/0.3979, allocations: 16.72 kB / 1.214 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3979, allocations: 0 / 1.214 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.3979, allocations: 4 kB / 1.214 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.398, allocations: 3.984 kB / 1.214 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.3982, allocations: 237.4 kB / 1.214 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3982, allocations: 3.984 kB / 1.214 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.3983, allocations: 19.92 kB / 1.214 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3984, allocations: 4 kB / 1.214 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.3984, allocations: 8 kB / 1.214 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3984, allocations: 3.938 kB / 1.214 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3984, allocations: 0 / 1.214 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.3988, allocations: 227.3 kB / 1.214 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.3988, allocations: 92.95 kB / 1.214 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.3989, allocations: 3.984 kB / 1.214 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.399, allocations: 12 kB / 1.214 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.444e-05/0.3991, allocations: 19.97 kB / 1.214 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.3991, allocations: 4 kB / 1.214 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.654e-05/0.3992, allocations: 117.4 kB / 1.214 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3992, allocations: 0 / 1.214 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000262/0.3994, allocations: 27.91 kB / 1.215 GB, free: 2.332 MB / 0.9669 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.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.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.0001463/0.3996, allocations: 115.2 kB / 1.215 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003643/0.4, allocations: 112.5 kB / 1.215 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4, allocations: 0 / 1.215 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.4001, allocations: 59.91 kB / 1.215 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.4005, allocations: 12.42 kB / 1.215 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005988/0.4011, allocations: 288.9 kB / 1.215 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.4014, allocations: 0.7123 MB / 1.216 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.147e-05/0.4015, allocations: 17.08 kB / 1.216 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.282e-05/0.4016, allocations: 23.44 kB / 1.216 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of SimCode: time 2.11e-07/0.4016, allocations: 0 / 1.216 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of Templates: time 0.004366/0.4059, allocations: 1.282 MB / 1.217 GB, free: 15.71 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches