Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump.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.0008457/0.0008457, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008237/0.0008237, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8724/0.8724, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.958/1.958, allocations: 429.5 MB / 0.6733 GB, free: 4.066 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|staUpInd.uUpsDevSta|staUpInd.uStaUp|staUpInd.uStaDow|staUpInd.uStaSet|staUpInd.yChiSta|staDowInd.uUpsDevSta|staDowInd.uStaUp|staDowInd.uStaDow|staDowInd.uStaSet|staDowInd.yChiSta",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump") translateModel(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|staUpInd.uUpsDevSta|staUpInd.uStaUp|staUpInd.uStaDow|staUpInd.uStaSet|staUpInd.yChiSta|staDowInd.uUpsDevSta|staDowInd.uStaUp|staDowInd.uStaDow|staDowInd.uStaSet|staDowInd.yChiSta",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.657e-06/3.657e-06, allocations: 3.328 kB / 1.066 GB, free: 33.36 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.964e-05/3.329e-05, allocations: 2.281 kB / 1.066 GB, free: 33.36 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump): time 0.002356/0.002389, allocations: 1.181 MB / 1.067 GB, free: 32.6 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.004082, allocations: 1.379 MB / 1.069 GB, free: 31.59 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.004204, allocations: 2.719 kB / 1.069 GB, free: 31.59 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 9.284e-05/0.004297, allocations: 30.28 kB / 1.069 GB, free: 31.57 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 9.198e-05/0.004389, allocations: 21.72 kB / 1.069 GB, free: 31.55 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007368/0.005125, allocations: 320.1 kB / 1.069 GB, free: 31.38 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0003861/0.005512, allocations: 433.5 kB / 1.069 GB, free: 31.18 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000327/0.005838, allocations: 176.5 kB / 1.07 GB, free: 31.1 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.006076, allocations: 249.4 kB / 1.07 GB, free: 30.98 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.006274, allocations: 145.9 kB / 1.07 GB, free: 30.92 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 6.585e-05/0.00634, allocations: 47.5 kB / 1.07 GB, free: 30.92 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.006442, allocations: 58.53 kB / 1.07 GB, free: 30.91 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 5.767e-05/0.0065, allocations: 83.3 kB / 1.07 GB, free: 30.86 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.00662, allocations: 139.3 kB / 1.07 GB, free: 30.79 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0005089/0.007128, allocations: 0.5782 MB / 1.071 GB, free: 30.57 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.007133, allocations: 0 / 1.071 GB, free: 30.57 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.893e-06/0.007135, allocations: 0 / 1.071 GB, free: 30.57 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.007141, allocations: 4 kB / 1.071 GB, free: 30.56 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0007533/0.007895, allocations: 0.5587 MB / 1.071 GB, free: 30.09 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.007944, allocations: 8.562 kB / 1.071 GB, free: 30.09 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.336e-05/0.008037, allocations: 40.67 kB / 1.071 GB, free: 30.07 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005197/0.008557, allocations: 233.1 kB / 1.072 GB, free: 29.89 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.868e-05/0.008616, allocations: 37.06 kB / 1.072 GB, free: 29.88 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.022e-05/0.008676, allocations: 47.17 kB / 1.072 GB, free: 29.87 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005068/0.009183, allocations: 324.4 kB / 1.072 GB, free: 29.73 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.009197, allocations: 4.188 kB / 1.072 GB, free: 29.73 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.009229, allocations: 21.64 kB / 1.072 GB, free: 29.71 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.00924, allocations: 12.06 kB / 1.072 GB, free: 29.71 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004377/0.009677, allocations: 251.2 kB / 1.072 GB, free: 29.63 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.01096, allocations: 1.026 MB / 1.073 GB, free: 28.88 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.01123, allocations: 111.6 kB / 1.073 GB, free: 28.83 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.535e-05/0.01132, allocations: 52.2 kB / 1.073 GB, free: 28.8 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.01134, allocations: 10.84 kB / 1.073 GB, free: 28.79 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002767/0.01162, allocations: 121.6 kB / 1.074 GB, free: 28.72 MB / 1.01 GB Notification: Performance of pre-optimization done (n=16): time 2.855e-06/0.01162, allocations: 0 / 1.074 GB, free: 28.72 MB / 1.01 GB Notification: Performance of matching and sorting (n=16): time 0.0004362/0.01205, allocations: 198.4 kB / 1.074 GB, free: 28.64 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.01209, allocations: 62.06 kB / 1.074 GB, free: 28.57 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.01222, allocations: 197.8 kB / 1.074 GB, free: 28.42 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.01225, allocations: 32.73 kB / 1.074 GB, free: 28.38 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 9.51e-05/0.01235, allocations: 196.4 kB / 1.074 GB, free: 28.22 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.01237, allocations: 29.41 kB / 1.074 GB, free: 28.2 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.01249, allocations: 112.6 kB / 1.074 GB, free: 28.14 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.7e-05/0.01253, allocations: 321.1 kB / 1.075 GB, free: 27.83 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.01273, allocations: 152.9 kB / 1.075 GB, free: 27.73 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.01295, allocations: 215.2 kB / 1.075 GB, free: 27.56 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.01323, allocations: 254.2 kB / 1.075 GB, free: 27.36 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.01323, allocations: 2.875 kB / 1.075 GB, free: 27.36 MB / 1.01 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005814/0.01382, allocations: 422.8 kB / 1.076 GB, free: 27.1 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 5.134e-05/0.01387, allocations: 65.95 kB / 1.076 GB, free: 27.04 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.01388, allocations: 48 / 1.076 GB, free: 27.04 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.01389, allocations: 9.609 kB / 1.076 GB, free: 27.04 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.01404, allocations: 38.92 kB / 1.076 GB, free: 27.02 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.619e-06/0.01405, allocations: 6.844 kB / 1.076 GB, free: 27.02 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.01433, allocations: 62.66 kB / 1.076 GB, free: 27.01 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.01437, allocations: 17.7 kB / 1.076 GB, free: 27.01 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,fal.y,staUpInd.and1.y,staDowInd.and2.y,staUpInd.uChiSta,staDowInd.uChiSta,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,staDowInd.swi2.y,staDowInd.and1.y,staDowInd.yChiSta,staDowInd.uStaSet,staUpInd.swi1.y,staUpInd.and2.y,staUpInd.yChiSta,staUpInd.uStaSet) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 2 * 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.0001341/0.0145, allocations: 153.8 kB / 1.076 GB, free: 26.87 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.01453, allocations: 21.05 kB / 1.076 GB, free: 26.86 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.01457, allocations: 16.06 kB / 1.076 GB, free: 26.84 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.01458, allocations: 2.875 kB / 1.076 GB, free: 26.84 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.01458, allocations: 3.938 kB / 1.076 GB, free: 26.84 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.01459, allocations: 0 / 1.076 GB, free: 26.84 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005164/0.01511, allocations: 454 kB / 1.076 GB, free: 26.52 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.01511, allocations: 2.844 kB / 1.076 GB, free: 26.52 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.166e-05/0.01519, allocations: 26.52 kB / 1.077 GB, free: 26.51 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.01519, allocations: 0 / 1.077 GB, free: 26.51 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.01521, allocations: 6.812 kB / 1.077 GB, free: 26.51 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01521, allocations: 4 kB / 1.077 GB, free: 26.5 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.01521, allocations: 3.938 kB / 1.077 GB, free: 26.5 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.01546, allocations: 246.6 kB / 1.077 GB, free: 26.33 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.01547, allocations: 17.66 kB / 1.077 GB, free: 26.32 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.0155, allocations: 6.875 kB / 1.077 GB, free: 26.32 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/0.01558, allocations: 4 kB / 1.077 GB, free: 26.31 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.223e-05/0.01566, allocations: 23.72 kB / 1.077 GB, free: 26.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.01567, allocations: 6.062 kB / 1.077 GB, free: 26.3 MB / 1.01 GB Notification: Performance of sorting global known variables: time 5.029e-05/0.01573, allocations: 111.3 kB / 1.077 GB, free: 26.22 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.01573, allocations: 0 / 1.077 GB, free: 26.22 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003706/0.0161, allocations: 80.05 kB / 1.077 GB, free: 26.19 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (staUpInd.and2.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,staUpInd.uStaSet,staUpInd.yChiSta,staUpInd.swi1.y,staDowInd.uStaSet,staDowInd.yChiSta,staDowInd.and1.y,staDowInd.swi2.y,booPul.y,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001699/0.01627, allocations: 121.8 kB / 1.077 GB, free: 26.09 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004342/0.0167, allocations: 360.2 kB / 1.077 GB, free: 25.84 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.0167, allocations: 0 / 1.077 GB, free: 25.84 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.01681, allocations: 61.2 kB / 1.078 GB, free: 25.82 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.01715, allocations: 28.92 kB / 1.078 GB, free: 25.81 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006883/0.01784, allocations: 441.7 kB / 1.078 GB, free: 25.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.01795, allocations: 150.9 kB / 1.078 GB, free: 25.42 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/0.01801, allocations: 27.52 kB / 1.078 GB, free: 25.41 MB / 1.01 GB Notification: Performance of SimCode: time 7.61e-07/0.01801, allocations: 0 / 1.078 GB, free: 25.41 MB / 1.01 GB Notification: Performance of Templates: time 0.004555/0.02256, allocations: 3.021 MB / 1.081 GB, free: 25.08 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump -emit_protected > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_Plants_Chillers_Staging_Processes_Subsequences_Validation_EnableCWPump.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump.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: 7.560012713074684]