Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.001306/0.001306, 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.001445/0.001445, allocations: 210.5 kB / 22.24 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.797 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.315/3.315, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_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.002064/0.002064, allocations: 67.33 kB / 1.186 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4085, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002841/0.4114, allocations: 0.9725 MB / 1.364 GB, free: 13.17 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.413, allocations: 1.004 MB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.4131, allocations: 4 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.518e-05/0.4131, allocations: 19.8 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.4133, allocations: 23.75 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.4135, allocations: 71.86 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.4137, allocations: 160.1 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.4139, allocations: 68.77 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.4141, allocations: 75.7 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.4143, allocations: 67.61 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.4143, allocations: 20 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.898e-05/0.4143, allocations: 20 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.1e-05/0.4144, allocations: 39.86 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.25e-05/0.4145, allocations: 59.72 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.4148, allocations: 219 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4148, allocations: 0 / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.973e-06/0.4148, allocations: 0 / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.4148, allocations: 0 / 1.366 GB, free: 11.32 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0006965/0.4155, allocations: 373.6 kB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4155, allocations: 12.03 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.892e-05/0.4156, allocations: 46.73 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.4157, allocations: 32.78 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.4162, allocations: 190.2 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.4162, allocations: 12.38 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.4162, allocations: 12.38 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.4166, allocations: 154 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4166, allocations: 3.938 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.4166, allocations: 7.938 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.4166, allocations: 8 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003522/0.417, allocations: 115.9 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000694/0.4177, allocations: 411.5 kB / 1.367 GB, free: 9.855 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.418, allocations: 110.6 kB / 1.368 GB, free: 9.738 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.4182, allocations: 48.83 kB / 1.368 GB, free: 9.688 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.4182, allocations: 4 kB / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.4182, allocations: 34.56 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.4182, allocations: 0 / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0005772/0.4188, allocations: 185.3 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.4188, allocations: 51.41 kB / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.419, allocations: 163.2 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.419, allocations: 25.7 kB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.993e-05/0.4191, allocations: 124.4 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.4192, allocations: 35.69 kB / 1.368 GB, free: 9.023 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-05/0.4192, allocations: 37.7 kB / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4194, allocations: 326.8 kB / 1.369 GB, free: 8.652 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.4195, allocations: 43.91 kB / 1.369 GB, free: 8.609 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.4197, allocations: 75.39 kB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.42, allocations: 115.2 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.42, allocations: 3.938 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004041/0.4204, allocations: 149.5 kB / 1.369 GB, free: 8.242 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.4205, allocations: 9.562 kB / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4205, allocations: 96 / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.4205, allocations: 4 kB / 1.369 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.4206, allocations: 27.92 kB / 1.369 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.4206, allocations: 0 / 1.369 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.4207, allocations: 15.98 kB / 1.369 GB, free: 8.188 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.4208, allocations: 8 kB / 1.369 GB, free: 8.18 MB / 1.061 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.0001496/0.4209, allocations: 143.4 kB / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.421, allocations: 15.91 kB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.426e-05/0.421, allocations: 8.719 kB / 1.369 GB, free: 8.004 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.421, allocations: 8 kB / 1.369 GB, free: 7.996 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.421, allocations: 0 / 1.369 GB, free: 7.996 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.421, allocations: 0 / 1.369 GB, free: 7.996 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.4213, allocations: 204.5 kB / 1.369 GB, free: 7.754 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.4213, allocations: 4 kB / 1.369 GB, free: 7.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.4215, allocations: 15.98 kB / 1.369 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.4215, allocations: 3.984 kB / 1.369 GB, free: 7.73 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.4215, allocations: 8 kB / 1.369 GB, free: 7.723 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4215, allocations: 0 / 1.369 GB, free: 7.723 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4215, allocations: 0 / 1.369 GB, free: 7.723 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.4219, allocations: 239.3 kB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.4219, allocations: 7.953 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.4219, allocations: 0 / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.4221, allocations: 11.98 kB / 1.37 GB, free: 7.453 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.549e-05/0.4221, allocations: 19.97 kB / 1.37 GB, free: 7.434 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.4221, allocations: 4 kB / 1.37 GB, free: 7.43 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.193e-05/0.4222, allocations: 113.6 kB / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4222, allocations: 0 / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002601/0.4225, allocations: 35.89 kB / 1.37 GB, free: 7.285 MB / 1.061 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.0007673/0.4233, allocations: 0.7715 MB / 1.371 GB, free: 6.488 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003854/0.4236, allocations: 112 kB / 1.371 GB, free: 6.379 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4236, allocations: 8 kB / 1.371 GB, free: 6.371 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.4238, allocations: 47.97 kB / 1.371 GB, free: 6.324 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.4242, allocations: 24.95 kB / 1.371 GB, free: 6.301 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.4266, allocations: 1.743 MB / 1.372 GB, free: 4.457 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.4267, allocations: 103.2 kB / 1.373 GB, free: 4.332 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.751e-05/0.4268, allocations: 17.08 kB / 1.373 GB, free: 4.316 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.4269, allocations: 47.42 kB / 1.373 GB, free: 4.27 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.4269, allocations: 4 kB / 1.373 GB, free: 4.266 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03403/0.4609, allocations: 3.311 MB / 1.376 GB, free: 1.145 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.83, allocations: 11.2 kB / 1.376 GB, free: 1.137 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.715642204973847]