Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 104.5 kB / 18.84 MB, free: 3.043 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002335/0.002335, allocations: 192.2 kB / 22.11 MB, free: 5.152 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.257/3.257, allocations: 495.8 MB / 0.783 GB, free: 33.61 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow")
translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 69.88 kB / 1.137 GB, free: 33.78 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4092, allocations: 173.6 MB / 1.307 GB, free: 1.859 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002526/0.4118, allocations: 1.024 MB / 1.308 GB, free: 0.8359 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001221/0.413, allocations: 0.9791 MB / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.682e-05/0.4131, allocations: 0 / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 4.95e-05/0.4131, allocations: 19.73 kB / 1.309 GB, free: 15.82 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.4132, allocations: 27.8 kB / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.4134, allocations: 67.88 kB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002081/0.4136, allocations: 164.1 kB / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.4138, allocations: 74.88 kB / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.414, allocations: 75.7 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.4141, allocations: 75.62 kB / 1.309 GB, free: 15.35 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.4141, allocations: 16 kB / 1.309 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 2.683e-05/0.4141, allocations: 20 kB / 1.309 GB, free: 15.32 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 3.822e-05/0.4142, allocations: 35.86 kB / 1.309 GB, free: 15.28 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 7.417e-05/0.4143, allocations: 71.59 kB / 1.309 GB, free: 15.21 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.4145, allocations: 211.1 kB / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4145, allocations: 4 kB / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.904e-06/0.4145, allocations: 0 / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.881e-06/0.4145, allocations: 3.938 kB / 1.31 GB, free: 15 MB / 1.014 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.0006793/0.4152, allocations: 381.5 kB / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.4152, allocations: 12.03 kB / 1.31 GB, free: 14.58 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.022e-05/0.4153, allocations: 20.8 kB / 1.31 GB, free: 14.56 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.4157, allocations: 190.2 kB / 1.31 GB, free: 14.35 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.4158, allocations: 12.38 kB / 1.31 GB, free: 14.34 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.4158, allocations: 16.36 kB / 1.31 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.4161, allocations: 151.8 kB / 1.31 GB, free: 14.17 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4161, allocations: 192 / 1.31 GB, free: 14.17 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.4162, allocations: 11.94 kB / 1.31 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.4162, allocations: 4 kB / 1.31 GB, free: 14.15 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003382/0.4165, allocations: 115.9 kB / 1.31 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007731/0.4173, allocations: 443.3 kB / 1.311 GB, free: 13.56 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.4176, allocations: 114.6 kB / 1.311 GB, free: 13.44 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.4177, allocations: 56.81 kB / 1.311 GB, free: 13.38 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.4177, allocations: 0 / 1.311 GB, free: 13.38 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.4178, allocations: 30.56 kB / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=12): time 8.42e-07/0.4178, allocations: 4 kB / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of matching and sorting (n=12): time 0.0005425/0.4183, allocations: 181.3 kB / 1.311 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.4184, allocations: 59.39 kB / 1.311 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.4185, allocations: 152.8 kB / 1.311 GB, free: 12.92 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.4185, allocations: 33.7 kB / 1.311 GB, free: 12.88 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 8.729e-05/0.4186, allocations: 120.3 kB / 1.312 GB, free: 12.76 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.4187, allocations: 35.7 kB / 1.312 GB, free: 12.72 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.507e-05/0.4187, allocations: 41.69 kB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001435/0.4189, allocations: 326.8 kB / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.419, allocations: 39.97 kB / 1.312 GB, free: 12.31 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.4192, allocations: 71.39 kB / 1.312 GB, free: 12.23 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.4195, allocations: 115.3 kB / 1.312 GB, free: 12.1 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4195, allocations: 0 / 1.312 GB, free: 12.1 MB / 1.014 GB
Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003513/0.4198, allocations: 153.4 kB / 1.312 GB, free: 11.95 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.4198, allocations: 8 kB / 1.312 GB, free: 11.94 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.4198, allocations: 0 / 1.312 GB, free: 11.94 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.4199, allocations: 4.094 kB / 1.312 GB, free: 11.93 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.42, allocations: 27.97 kB / 1.312 GB, free: 11.91 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.4201, allocations: 4 kB / 1.312 GB, free: 11.9 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.95e-05/0.4202, allocations: 19.88 kB / 1.312 GB, free: 11.88 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.4202, allocations: 4 kB / 1.312 GB, free: 11.88 MB / 1.014 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.0001677/0.4203, allocations: 137.7 kB / 1.313 GB, free: 11.73 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.4204, allocations: 11.91 kB / 1.313 GB, free: 11.72 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.84e-05/0.4204, allocations: 28.64 kB / 1.313 GB, free: 11.7 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4204, allocations: 0 / 1.313 GB, free: 11.7 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.4204, allocations: 0 / 1.313 GB, free: 11.7 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4205, allocations: 0 / 1.313 GB, free: 11.7 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.4208, allocations: 212.6 kB / 1.313 GB, free: 11.45 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4208, allocations: 0 / 1.313 GB, free: 11.45 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.4209, allocations: 15.98 kB / 1.313 GB, free: 11.43 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4209, allocations: 0 / 1.313 GB, free: 11.43 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.4209, allocations: 4 kB / 1.313 GB, free: 11.43 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.4209, allocations: 3.984 kB / 1.313 GB, free: 11.42 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4209, allocations: 0 / 1.313 GB, free: 11.42 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.4213, allocations: 243.2 kB / 1.313 GB, free: 11.17 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.4213, allocations: 11.89 kB / 1.313 GB, free: 11.16 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.4214, allocations: 4 kB / 1.313 GB, free: 11.15 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.4215, allocations: 11.98 kB / 1.313 GB, free: 11.14 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.181e-05/0.4216, allocations: 11.98 kB / 1.313 GB, free: 11.13 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.4216, allocations: 15.98 kB / 1.313 GB, free: 11.11 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001168/0.4217, allocations: 109.3 kB / 1.313 GB, free: 11.01 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.4217, allocations: 0 / 1.313 GB, free: 11.01 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002598/0.422, allocations: 31.89 kB / 1.313 GB, free: 10.98 MB / 1.014 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.0001905/0.4221, allocations: 104 kB / 1.313 GB, free: 10.87 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003961/0.4225, allocations: 108.5 kB / 1.313 GB, free: 10.76 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4225, allocations: 0 / 1.313 GB, free: 10.76 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.4227, allocations: 63.84 kB / 1.313 GB, free: 10.7 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.4231, allocations: 13.36 kB / 1.313 GB, free: 10.69 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007023/0.4238, allocations: 272.8 kB / 1.314 GB, free: 10.39 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.4242, allocations: 0.7164 MB / 1.314 GB, free: 9.652 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 8.257e-05/0.4243, allocations: 17.08 kB / 1.314 GB, free: 9.637 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.4243, allocations: 23.42 kB / 1.314 GB, free: 9.613 MB / 1.014 GB
Notification: Performance of SimCode: time 7.61e-07/0.4243, allocations: 0 / 1.314 GB, free: 9.613 MB / 1.014 GB
Notification: Performance of Templates: time 0.005256/0.4296, allocations: 1.318 MB / 1.316 GB, free: 8.348 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.366013393737376]