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.Overrides.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.001609/0.001609, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00201/0.00201, allocations: 215.2 kB / 22.25 MB, free: 4.859 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.809 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.407/3.407, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides",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.002072/0.002072, allocations: 72.02 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3881, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides): time 0.003495/0.3916, allocations: 1.263 MB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002185/0.3937, allocations: 1.334 MB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/0.394, allocations: 8 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.3941, allocations: 35.53 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.3944, allocations: 31.56 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007754/0.3951, allocations: 235.9 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005897/0.3957, allocations: 376.3 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/0.396, allocations: 121.4 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003107/0.3964, allocations: 163.4 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.3966, allocations: 151.3 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.258e-05/0.3967, allocations: 40 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.3968, allocations: 48 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.301e-05/0.3969, allocations: 79.73 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.3971, allocations: 135.4 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007643/0.3979, allocations: 482.3 kB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3979, allocations: 0 / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.324e-06/0.3979, allocations: 0 / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.717e-05/0.3979, allocations: 0 / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001368/0.3993, allocations: 0.5694 MB / 1.368 GB, free: 8.992 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.3993, allocations: 15.97 kB / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.669e-05/0.3994, allocations: 66.72 kB / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.3995, allocations: 44.7 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009/0.4004, allocations: 290.4 kB / 1.369 GB, free: 8.551 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-05/0.4005, allocations: 25.03 kB / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-05/0.4006, allocations: 36.3 kB / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007497/0.4013, allocations: 317.4 kB / 1.369 GB, free: 8.168 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.4013, allocations: 3.938 kB / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.4014, allocations: 8 kB / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.4014, allocations: 8 kB / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007141/0.4021, allocations: 225.7 kB / 1.369 GB, free: 7.93 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.4035, allocations: 0.8745 MB / 1.37 GB, free: 6.996 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005371/0.404, allocations: 199.8 kB / 1.37 GB, free: 6.773 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/0.4043, allocations: 98.66 kB / 1.37 GB, free: 6.668 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.4044, allocations: 7.938 kB / 1.37 GB, free: 6.66 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005471/0.4049, allocations: 187.5 kB / 1.371 GB, free: 6.457 MB / 1.061 GB Notification: Performance of pre-optimization done (n=22): time 2.424e-06/0.4049, allocations: 0 / 1.371 GB, free: 6.457 MB / 1.061 GB Notification: Performance of matching and sorting (n=22): time 0.001115/0.406, allocations: 313.2 kB / 1.371 GB, free: 6.145 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.879e-05/0.4061, allocations: 106.8 kB / 1.371 GB, free: 6.016 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.4064, allocations: 236 kB / 1.371 GB, free: 5.77 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/0.4065, allocations: 29.7 kB / 1.371 GB, free: 5.734 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.4066, allocations: 180.5 kB / 1.371 GB, free: 5.555 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.944e-05/0.4067, allocations: 67.47 kB / 1.372 GB, free: 5.488 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.4069, allocations: 77.67 kB / 1.372 GB, free: 5.406 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.4071, allocations: 334.8 kB / 1.372 GB, free: 5.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003912/0.4075, allocations: 133.9 kB / 1.372 GB, free: 4.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00045/0.4079, allocations: 225.5 kB / 1.372 GB, free: 4.664 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007344/0.4087, allocations: 292.6 kB / 1.373 GB, free: 4.332 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.4087, allocations: 0.5 kB / 1.373 GB, free: 4.332 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001056/0.4097, allocations: 412.5 kB / 1.373 GB, free: 3.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.919e-05/0.4098, allocations: 41.62 kB / 1.373 GB, free: 3.863 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.4098, allocations: 320 / 1.373 GB, free: 3.863 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.4098, allocations: 8 kB / 1.373 GB, free: 3.855 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.4101, allocations: 47.91 kB / 1.373 GB, free: 3.809 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/0.4101, allocations: 7.984 kB / 1.373 GB, free: 3.801 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/0.4105, allocations: 59.8 kB / 1.373 GB, free: 3.742 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.371e-05/0.4105, allocations: 19.98 kB / 1.373 GB, free: 3.723 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$whenCondition2,heaOff.y,$PRE.heaOff.y,reaToInt3.y,ove.intEqu2.y,ove.y1Fan,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,terFan.y,ove.con1.y,ove.con.y,ove.conInt6.y,ove.conInt5.y,ove.logSwi1.y,ove.conInt4.y,ove.conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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.0002389/0.4108, allocations: 157.7 kB / 1.373 GB, free: 3.559 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.4108, allocations: 23.8 kB / 1.373 GB, free: 3.535 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.438e-05/0.4109, allocations: 25.39 kB / 1.373 GB, free: 3.504 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.4109, allocations: 4 kB / 1.373 GB, free: 3.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4109, allocations: 3.938 kB / 1.373 GB, free: 3.496 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4109, allocations: 4 kB / 1.373 GB, free: 3.492 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.4113, allocations: 268.6 kB / 1.374 GB, free: 3.188 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4114, allocations: 0 / 1.374 GB, free: 3.188 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.4116, allocations: 43.95 kB / 1.374 GB, free: 3.145 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.4116, allocations: 11.88 kB / 1.374 GB, free: 3.133 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.4116, allocations: 7.938 kB / 1.374 GB, free: 3.125 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.4116, allocations: 4 kB / 1.374 GB, free: 3.121 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4116, allocations: 0 / 1.374 GB, free: 3.121 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007501/0.4124, allocations: 275.6 kB / 1.374 GB, free: 2.828 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.4124, allocations: 27.8 kB / 1.374 GB, free: 2.801 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.4125, allocations: 7.938 kB / 1.374 GB, free: 2.793 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.4126, allocations: 15.98 kB / 1.374 GB, free: 2.777 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.4128, allocations: 35.94 kB / 1.374 GB, free: 2.742 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.4128, allocations: 12 kB / 1.374 GB, free: 2.73 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001789/0.413, allocations: 145.8 kB / 1.374 GB, free: 2.59 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.413, allocations: 0 / 1.374 GB, free: 2.59 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000412/0.4134, allocations: 67.78 kB / 1.374 GB, free: 2.523 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,heaOff.y,ove.y1Fan,ove.intEqu2.y,reaToInt3.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001148/0.4145, allocations: 0.8222 MB / 1.375 GB, free: 1.664 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008917/0.4154, allocations: 325.5 kB / 1.375 GB, free: 1.328 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4154, allocations: 0 / 1.375 GB, free: 1.328 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003799/0.4158, allocations: 119.9 kB / 1.375 GB, free: 1.211 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.4162, allocations: 41.64 kB / 1.375 GB, free: 1.172 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004652/0.4208, allocations: 2.711 MB / 1.378 GB, free: 14.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.421, allocations: 155.5 kB / 1.378 GB, free: 14.1 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001774/0.4212, allocations: 38.28 kB / 1.378 GB, free: 14.07 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.4214, allocations: 95.39 kB / 1.378 GB, free: 13.97 MB / 1.076 GB Notification: Performance of SimCode: time 1.583e-06/0.4214, allocations: 0 / 1.378 GB, free: 13.97 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03825/0.4596, allocations: 6.51 MB / 1.385 GB, free: 7.695 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.05, allocations: 6.188 kB / 1.385 GB, free: 7.691 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.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: 19.19872692693025]