Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 216.4 kB / 22.25 MB, free: 5.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.366/3.366, allocations: 0.505 GB / 0.8101 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 67.67 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3884, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002671/0.3911, allocations: 1.02 MB / 1.354 GB, free: 7.434 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.3926, allocations: 1.015 MB / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.3928, allocations: 3.938 kB / 1.355 GB, free: 6.402 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.075e-05/0.3928, allocations: 19.8 kB / 1.355 GB, free: 6.383 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.393, allocations: 19.81 kB / 1.355 GB, free: 6.363 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.3933, allocations: 71.86 kB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.3935, allocations: 164 kB / 1.355 GB, free: 6.133 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.3937, allocations: 80.75 kB / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002655/0.394, allocations: 71.72 kB / 1.355 GB, free: 5.98 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.3941, allocations: 79.56 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.613e-05/0.3942, allocations: 16 kB / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.857e-05/0.3943, allocations: 23.98 kB / 1.355 GB, free: 5.863 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.644e-05/0.3943, allocations: 31.92 kB / 1.355 GB, free: 5.832 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.452e-05/0.3944, allocations: 75.59 kB / 1.356 GB, free: 5.758 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.3947, allocations: 219 kB / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3947, allocations: 0 / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3947, allocations: 0 / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.3947, allocations: 4 kB / 1.356 GB, free: 5.539 MB / 1.045 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.0008424/0.3956, allocations: 379.7 kB / 1.356 GB, free: 5.137 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.3956, allocations: 12.03 kB / 1.356 GB, free: 5.125 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.3e-05/0.3957, allocations: 46.73 kB / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.3959, allocations: 24.83 kB / 1.356 GB, free: 5.047 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005196/0.3964, allocations: 190.2 kB / 1.356 GB, free: 4.836 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.3965, allocations: 16.38 kB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.3965, allocations: 20.3 kB / 1.356 GB, free: 4.801 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/0.3969, allocations: 146 kB / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.3969, allocations: 3.938 kB / 1.357 GB, free: 4.648 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.3969, allocations: 8 kB / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.3969, allocations: 4 kB / 1.357 GB, free: 4.637 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003612/0.3973, allocations: 123.8 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00085/0.3981, allocations: 447.3 kB / 1.357 GB, free: 4.035 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.3985, allocations: 106.6 kB / 1.357 GB, free: 3.922 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.3986, allocations: 56.81 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.3987, allocations: 4 kB / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.3987, allocations: 30.56 kB / 1.357 GB, free: 3.82 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.893e-06/0.3987, allocations: 0 / 1.357 GB, free: 3.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.000588/0.3993, allocations: 173.5 kB / 1.357 GB, free: 3.645 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.3993, allocations: 63.39 kB / 1.357 GB, free: 3.57 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.3995, allocations: 155.4 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.3995, allocations: 29.7 kB / 1.358 GB, free: 3.367 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.3997, allocations: 120.4 kB / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.3997, allocations: 31.7 kB / 1.358 GB, free: 3.215 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.39e-05/0.3998, allocations: 45.62 kB / 1.358 GB, free: 3.164 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3999, allocations: 326.8 kB / 1.358 GB, free: 2.836 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.4001, allocations: 43.97 kB / 1.358 GB, free: 2.793 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.4003, allocations: 75.33 kB / 1.358 GB, free: 2.707 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.4006, allocations: 115.7 kB / 1.358 GB, free: 2.582 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4006, allocations: 3.938 kB / 1.358 GB, free: 2.578 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000373/0.401, allocations: 149.5 kB / 1.359 GB, free: 2.426 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.401, allocations: 4 kB / 1.359 GB, free: 2.422 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.401, allocations: 4 kB / 1.359 GB, free: 2.418 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.401, allocations: 4.094 kB / 1.359 GB, free: 2.414 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.4012, allocations: 31.91 kB / 1.359 GB, free: 2.383 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.4012, allocations: 0 / 1.359 GB, free: 2.383 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.4013, allocations: 19.94 kB / 1.359 GB, free: 2.363 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.4013, allocations: 4 kB / 1.359 GB, free: 2.359 MB / 1.045 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.0001384/0.4015, allocations: 132.5 kB / 1.359 GB, free: 2.223 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.4015, allocations: 7.953 kB / 1.359 GB, free: 2.215 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.096e-05/0.4015, allocations: 24.7 kB / 1.359 GB, free: 2.191 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4015, allocations: 3.938 kB / 1.359 GB, free: 2.188 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.4015, allocations: 4 kB / 1.359 GB, free: 2.184 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.4015, allocations: 0 / 1.359 GB, free: 2.184 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.4018, allocations: 216.5 kB / 1.359 GB, free: 1.93 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4018, allocations: 0 / 1.359 GB, free: 1.93 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.402, allocations: 23.92 kB / 1.359 GB, free: 1.906 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.402, allocations: 0 / 1.359 GB, free: 1.906 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.402, allocations: 0 / 1.359 GB, free: 1.906 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.402, allocations: 3.984 kB / 1.359 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.402, allocations: 8 kB / 1.359 GB, free: 1.895 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004115/0.4024, allocations: 227.4 kB / 1.359 GB, free: 1.656 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/0.4024, allocations: 11.91 kB / 1.359 GB, free: 1.645 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.4024, allocations: 4 kB / 1.359 GB, free: 1.641 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.4026, allocations: 11.98 kB / 1.359 GB, free: 1.629 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.739e-05/0.4026, allocations: 23.92 kB / 1.359 GB, free: 1.605 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.4026, allocations: 3.984 kB / 1.359 GB, free: 1.602 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.335e-05/0.4027, allocations: 115.1 kB / 1.359 GB, free: 1.488 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4027, allocations: 4 kB / 1.359 GB, free: 1.484 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002688/0.403, allocations: 27.89 kB / 1.359 GB, free: 1.457 MB / 1.045 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.00079/0.4038, allocations: 0.7632 MB / 1.36 GB, free: 0.668 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004099/0.4042, allocations: 107.8 kB / 1.36 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4042, allocations: 4 kB / 1.36 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.4044, allocations: 60.09 kB / 1.36 GB, free: 0.5 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.4047, allocations: 25.28 kB / 1.36 GB, free: 488 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.4072, allocations: 1.735 MB / 1.362 GB, free: 14.64 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.4076, allocations: 0.7162 MB / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.656e-05/0.4077, allocations: 21.02 kB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.4078, allocations: 51.41 kB / 1.363 GB, free: 13.83 MB / 1.061 GB Notification: Performance of SimCode: time 1.502e-06/0.4078, allocations: 0 / 1.363 GB, free: 13.83 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.4372, allocations: 2.916 MB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.63, allocations: 13.11 kB / 1.366 GB, free: 11.08 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.61186472303234]