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.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.001448/0.001448, allocations: 113 kB / 18.94 MB, free: 2.934 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.001501/0.001501, allocations: 210.2 kB / 22.25 MB, free: 5.086 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.564/1.564, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.342/3.342, allocations: 0.49 GB / 0.7951 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002066/0.002066, allocations: 60.52 kB / 1.154 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3656, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002572/0.3682, allocations: 1.017 MB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.3697, allocations: 1.022 MB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.3699, allocations: 4 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.706e-05/0.3699, allocations: 11.81 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.3701, allocations: 35.72 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.3704, allocations: 63.88 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002872/0.3707, allocations: 168 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.3709, allocations: 60.91 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002653/0.3712, allocations: 75.7 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.3714, allocations: 75.62 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.832e-05/0.3714, allocations: 20 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.247e-05/0.3715, allocations: 23.98 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.114e-05/0.3715, allocations: 35.92 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.674e-05/0.3716, allocations: 75.58 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.372, allocations: 222.9 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.372, allocations: 0 / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.372, allocations: 0 / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.372, allocations: 4 kB / 1.329 GB, free: 15.02 MB / 1.029 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.0008227/0.3728, allocations: 377.6 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3728, allocations: 8.031 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.581e-05/0.3729, allocations: 50.73 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.3731, allocations: 28.83 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004682/0.3735, allocations: 198.1 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.3736, allocations: 8.375 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.3736, allocations: 12.38 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.374, allocations: 150 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.374, allocations: 7.875 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.374, allocations: 8 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.374, allocations: 8 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003501/0.3743, allocations: 115.9 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007379/0.3751, allocations: 443.3 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003057/0.3754, allocations: 118.6 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.3755, allocations: 44.83 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.3756, allocations: 4 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.3756, allocations: 30.56 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.3756, allocations: 0 / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0005593/0.3762, allocations: 181.8 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.3762, allocations: 51.41 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.3764, allocations: 164.1 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.3764, allocations: 25.7 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.226e-05/0.3765, allocations: 116.4 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.3765, allocations: 35.72 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.623e-05/0.3766, allocations: 41.7 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.3768, allocations: 326.8 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.377, allocations: 47.95 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.3771, allocations: 74.02 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.3775, allocations: 119.3 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3775, allocations: 0 / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004159/0.3779, allocations: 149.5 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.3779, allocations: 12.09 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.3779, allocations: 0 / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.3779, allocations: 0 / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.3781, allocations: 31.91 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.3781, allocations: 0 / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.3783, allocations: 23.88 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.3783, allocations: 4 kB / 1.332 GB, free: 11.84 MB / 1.029 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.0002054/0.3785, allocations: 138.2 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.3785, allocations: 15.89 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.454e-05/0.3786, allocations: 16.72 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3786, allocations: 4 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.3786, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.3786, allocations: 3.984 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000323/0.3789, allocations: 204.5 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3789, allocations: 4 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.3791, allocations: 19.97 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.3791, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.3791, allocations: 12 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3791, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3791, allocations: 3.984 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004283/0.3795, allocations: 231.3 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.3795, allocations: 11.91 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.3796, allocations: 7.922 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3797, allocations: 8 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.97e-05/0.3797, allocations: 23.97 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.3797, allocations: 4 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001181/0.3799, allocations: 112.3 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3799, allocations: 0 / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002721/0.3801, allocations: 27.89 kB / 1.332 GB, free: 10.94 MB / 1.029 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.0008116/0.3809, allocations: 0.767 MB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004034/0.3814, allocations: 112 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3814, allocations: 4 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.3815, allocations: 52.5 kB / 1.333 GB, free: 9.984 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.3819, allocations: 25.97 kB / 1.333 GB, free: 9.961 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/0.3845, allocations: 1.751 MB / 1.335 GB, free: 8.109 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.3849, allocations: 0.7162 MB / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.111e-05/0.385, allocations: 17.08 kB / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.984e-05/0.3851, allocations: 47.42 kB / 1.336 GB, free: 7.305 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/0.3851, allocations: 3.938 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03195/0.4171, allocations: 2.915 MB / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.96, allocations: 9.906 kB / 1.339 GB, free: 4.562 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.9757104490418]