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.001154/0.001154, allocations: 100.4 kB / 19.7 MB, free: 444 kB / 13.93 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.001479/0.001479, allocations: 207.8 kB / 22.99 MB, free: 2.984 MB / 13.93 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.9584/0.9584, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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 2.462/2.462, allocations: 0.5569 GB / 0.8628 GB, free: 29.35 MB / 0.6667 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 0.0009737/0.0009737, allocations: 71.98 kB / 1.255 GB, free: 22.34 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3529, allocations: 193.6 MB / 1.445 GB, free: 9.098 MB / 1.12 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump): time 0.002153/0.3551, allocations: 1.171 MB / 1.446 GB, free: 7.926 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.3566, allocations: 1.377 MB / 1.447 GB, free: 6.535 MB / 1.12 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.3567, allocations: 7.938 kB / 1.447 GB, free: 6.527 MB / 1.12 GB Notification: Performance of NFTyping.typeComponents: time 9.598e-05/0.3568, allocations: 35.58 kB / 1.447 GB, free: 6.492 MB / 1.12 GB Notification: Performance of NFTyping.typeBindings: time 8.97e-05/0.3569, allocations: 27.67 kB / 1.447 GB, free: 6.465 MB / 1.12 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006668/0.3576, allocations: 309.6 kB / 1.447 GB, free: 6.168 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.3579, allocations: 421.1 kB / 1.448 GB, free: 5.754 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003034/0.3582, allocations: 176 kB / 1.448 GB, free: 5.578 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.3584, allocations: 179.5 kB / 1.448 GB, free: 5.402 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.3586, allocations: 167.2 kB / 1.448 GB, free: 5.238 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 4.903e-05/0.3586, allocations: 52 kB / 1.448 GB, free: 5.188 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 9.102e-05/0.3587, allocations: 59.98 kB / 1.448 GB, free: 5.129 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 5.697e-05/0.3588, allocations: 79.77 kB / 1.448 GB, free: 5.051 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.3589, allocations: 155.4 kB / 1.449 GB, free: 4.898 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.0004448/0.3593, allocations: 0.5408 MB / 1.449 GB, free: 4.355 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3593, allocations: 0 / 1.449 GB, free: 4.355 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3593, allocations: 0 / 1.449 GB, free: 4.355 MB / 1.12 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.3594, allocations: 0 / 1.449 GB, free: 4.355 MB / 1.12 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.000652/0.36, allocations: 0.5599 MB / 1.45 GB, free: 3.75 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.36, allocations: 8.031 kB / 1.45 GB, free: 3.742 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.802e-05/0.3601, allocations: 44.7 kB / 1.45 GB, free: 3.699 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004112/0.3605, allocations: 235.2 kB / 1.45 GB, free: 3.445 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/0.3606, allocations: 33.38 kB / 1.45 GB, free: 3.414 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/0.3606, allocations: 48.31 kB / 1.45 GB, free: 3.367 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003812/0.361, allocations: 327 kB / 1.45 GB, free: 3.043 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.361, allocations: 7.938 kB / 1.45 GB, free: 3.035 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.361, allocations: 12 kB / 1.45 GB, free: 3.023 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.361, allocations: 12 kB / 1.45 GB, free: 3.012 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.3614, allocations: 243.9 kB / 1.451 GB, free: 2.773 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.3626, allocations: 1.035 MB / 1.452 GB, free: 1.656 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.3628, allocations: 110.6 kB / 1.452 GB, free: 1.539 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.401e-05/0.3629, allocations: 48.83 kB / 1.452 GB, free: 1.488 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.3629, allocations: 7.938 kB / 1.452 GB, free: 1.48 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.3632, allocations: 119.3 kB / 1.452 GB, free: 1.352 MB / 1.12 GB Notification: Performance of pre-optimization done (n=16): time 2.365e-06/0.3632, allocations: 4 kB / 1.452 GB, free: 1.348 MB / 1.12 GB Notification: Performance of matching and sorting (n=16): time 0.0003461/0.3635, allocations: 207.5 kB / 1.452 GB, free: 1.141 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.3636, allocations: 55.41 kB / 1.452 GB, free: 1.074 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.3637, allocations: 187.8 kB / 1.452 GB, free: 0.8828 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.3637, allocations: 33.7 kB / 1.452 GB, free: 0.8438 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 9.903e-05/0.3638, allocations: 196.3 kB / 1.453 GB, free: 0.6484 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.3638, allocations: 35.67 kB / 1.453 GB, free: 0.6133 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.3639, allocations: 113.5 kB / 1.453 GB, free: 0.4961 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 8.574e-05/0.364, allocations: 322.8 kB / 1.453 GB, free: 176 kB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.3642, allocations: 147.3 kB / 1.453 GB, free: 16 kB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.3644, allocations: 223.9 kB / 1.453 GB, free: 15.75 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.3646, allocations: 253 kB / 1.454 GB, free: 15.46 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.3646, allocations: 0 / 1.454 GB, free: 15.46 MB / 1.135 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00044/0.3651, allocations: 433.4 kB / 1.454 GB, free: 15.01 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 4.706e-05/0.3651, allocations: 59.41 kB / 1.454 GB, free: 14.94 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.3651, allocations: 8.016 kB / 1.454 GB, free: 14.93 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3651, allocations: 4 kB / 1.454 GB, free: 14.93 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.3652, allocations: 35.91 kB / 1.454 GB, free: 14.89 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.3653, allocations: 7.984 kB / 1.454 GB, free: 14.89 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.3655, allocations: 64.06 kB / 1.454 GB, free: 14.82 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.3655, allocations: 23.98 kB / 1.454 GB, free: 14.8 MB / 1.135 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.000136/0.3656, allocations: 153.6 kB / 1.454 GB, free: 14.64 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/0.3656, allocations: 7.953 kB / 1.454 GB, free: 14.63 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.474e-05/0.3657, allocations: 25.05 kB / 1.454 GB, free: 14.6 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3657, allocations: 8.031 kB / 1.454 GB, free: 14.59 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3657, allocations: 4 kB / 1.454 GB, free: 14.59 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.3657, allocations: 0 / 1.454 GB, free: 14.59 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004524/0.3662, allocations: 453.9 kB / 1.455 GB, free: 14.11 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3662, allocations: 3.938 kB / 1.455 GB, free: 14.11 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.849e-05/0.3662, allocations: 27.92 kB / 1.455 GB, free: 14.08 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3662, allocations: 4 kB / 1.455 GB, free: 14.07 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3662, allocations: 3.984 kB / 1.455 GB, free: 14.07 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3662, allocations: 0 / 1.455 GB, free: 14.07 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3662, allocations: 0 / 1.455 GB, free: 14.07 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.3665, allocations: 253.1 kB / 1.455 GB, free: 13.81 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.3665, allocations: 15.83 kB / 1.455 GB, free: 13.79 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.3665, allocations: 4 kB / 1.455 GB, free: 13.79 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.609e-05/0.3665, allocations: 4 kB / 1.455 GB, free: 13.79 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.3666, allocations: 23.91 kB / 1.455 GB, free: 13.76 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.3666, allocations: 11.92 kB / 1.455 GB, free: 13.75 MB / 1.135 GB Notification: Performance of sorting global known variables: time 4.912e-05/0.3667, allocations: 104.5 kB / 1.455 GB, free: 13.65 MB / 1.135 GB Notification: Performance of sort global known variables: time 5e-08/0.3667, allocations: 0 / 1.455 GB, free: 13.65 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0002588/0.3669, allocations: 83.67 kB / 1.455 GB, free: 13.57 MB / 1.135 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.0001498/0.3671, allocations: 116.3 kB / 1.455 GB, free: 13.45 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0003716/0.3674, allocations: 358 kB / 1.456 GB, free: 13.06 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3674, allocations: 0 / 1.456 GB, free: 13.06 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 8.403e-05/0.3675, allocations: 63.89 kB / 1.456 GB, free: 13 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.3678, allocations: 31.86 kB / 1.456 GB, free: 12.96 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005869/0.3683, allocations: 440.5 kB / 1.456 GB, free: 12.51 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.3685, allocations: 151.1 kB / 1.456 GB, free: 12.34 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.3685, allocations: 27.42 kB / 1.456 GB, free: 12.31 MB / 1.135 GB Notification: Performance of SimCode: time 7.91e-07/0.3685, allocations: 0 / 1.456 GB, free: 12.31 MB / 1.135 GB Notification: Performance of Templates: time 0.003949/0.3724, allocations: 3.02 MB / 1.459 GB, free: 9.305 MB / 1.135 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: 8.274161885987269]