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.00176/0.00176, allocations: 72.45 kB / 19.17 MB, free: 0.7266 MB / 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.00231/0.00231, allocations: 169.9 kB / 22.45 MB, free: 2.09 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 1.496/1.496, allocations: 177.2 MB / 202.8 MB, free: 5.73 MB / 186.7 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.246/3.246, allocations: 429.6 MB / 0.6726 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 176] 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.396e-06/3.396e-06, allocations: 0 / 1.066 GB, free: 32.85 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.278e-05/3.618e-05, allocations: 2.281 kB / 1.066 GB, free: 32.84 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.Validation.EnableCWPump): time 0.002344/0.00238, allocations: 1.19 MB / 1.067 GB, free: 32.08 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.001823/0.004203, allocations: 1.381 MB / 1.069 GB, free: 31.07 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.004362, allocations: 2.844 kB / 1.069 GB, free: 31.07 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.004465, allocations: 36.17 kB / 1.069 GB, free: 31.05 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.004566, allocations: 19.73 kB / 1.069 GB, free: 31.03 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008102/0.005376, allocations: 319.4 kB / 1.069 GB, free: 30.86 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0003846/0.005761, allocations: 425.2 kB / 1.069 GB, free: 30.66 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/0.006083, allocations: 179.9 kB / 1.07 GB, free: 30.57 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.006326, allocations: 247.9 kB / 1.07 GB, free: 30.45 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.006524, allocations: 145.2 kB / 1.07 GB, free: 30.39 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 6.449e-05/0.006589, allocations: 48.38 kB / 1.07 GB, free: 30.39 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 9.867e-05/0.006687, allocations: 61.42 kB / 1.07 GB, free: 30.39 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 6.695e-05/0.006754, allocations: 83.95 kB / 1.07 GB, free: 30.34 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.00689, allocations: 136.6 kB / 1.07 GB, free: 30.26 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0005398/0.007429, allocations: 0.5881 MB / 1.071 GB, free: 30.04 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.007434, allocations: 0 / 1.071 GB, free: 30.04 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.844e-06/0.007436, allocations: 0 / 1.071 GB, free: 30.04 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.007444, allocations: 6.094 kB / 1.071 GB, free: 30.03 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.0007651/0.008209, allocations: 0.5519 MB / 1.071 GB, free: 29.57 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.008251, allocations: 8.344 kB / 1.071 GB, free: 29.57 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.434e-05/0.008345, allocations: 40.83 kB / 1.071 GB, free: 29.55 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005217/0.008867, allocations: 227.8 kB / 1.072 GB, free: 29.37 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.99e-05/0.008917, allocations: 33.69 kB / 1.072 GB, free: 29.36 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.91e-05/0.008976, allocations: 47.7 kB / 1.072 GB, free: 29.35 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000501/0.009477, allocations: 323.5 kB / 1.072 GB, free: 29.21 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.009491, allocations: 7.422 kB / 1.072 GB, free: 29.21 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.009521, allocations: 19.19 kB / 1.072 GB, free: 29.2 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.009533, allocations: 12.94 kB / 1.072 GB, free: 29.19 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.009928, allocations: 250.2 kB / 1.072 GB, free: 29.11 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.0112, allocations: 1.027 MB / 1.073 GB, free: 28.36 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.01147, allocations: 120.7 kB / 1.073 GB, free: 28.3 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.751e-05/0.01156, allocations: 49.11 kB / 1.073 GB, free: 28.28 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.01158, allocations: 4 kB / 1.073 GB, free: 28.27 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002733/0.01185, allocations: 120.8 kB / 1.074 GB, free: 28.2 MB / 1.01 GB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.01185, allocations: 0 / 1.074 GB, free: 28.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=16): time 0.0004405/0.01229, allocations: 204.5 kB / 1.074 GB, free: 28.11 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.01233, allocations: 58.09 kB / 1.074 GB, free: 28.05 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.01246, allocations: 192.4 kB / 1.074 GB, free: 27.9 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.01249, allocations: 32.42 kB / 1.074 GB, free: 27.86 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.01259, allocations: 187.7 kB / 1.074 GB, free: 27.71 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.01262, allocations: 36.36 kB / 1.074 GB, free: 27.68 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.01275, allocations: 109.6 kB / 1.074 GB, free: 27.63 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.99e-05/0.01281, allocations: 324 kB / 1.075 GB, free: 27.31 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.013, allocations: 155.9 kB / 1.075 GB, free: 27.21 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.01322, allocations: 220.6 kB / 1.075 GB, free: 27.04 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.0135, allocations: 254 kB / 1.075 GB, free: 26.83 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.0135, allocations: 0 / 1.075 GB, free: 26.83 MB / 1.01 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005518/0.01405, allocations: 424.1 kB / 1.076 GB, free: 26.58 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.415e-05/0.01409, allocations: 63.42 kB / 1.076 GB, free: 26.52 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.0141, allocations: 3 kB / 1.076 GB, free: 26.52 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.01412, allocations: 2.844 kB / 1.076 GB, free: 26.52 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.01428, allocations: 35.92 kB / 1.076 GB, free: 26.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.01428, allocations: 10.19 kB / 1.076 GB, free: 26.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.01461, allocations: 68.19 kB / 1.076 GB, free: 26.48 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.01465, allocations: 17.91 kB / 1.076 GB, free: 26.48 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.0001257/0.01478, allocations: 151.6 kB / 1.076 GB, free: 26.35 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.0148, allocations: 18.12 kB / 1.076 GB, free: 26.34 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.473e-05/0.01484, allocations: 16.55 kB / 1.076 GB, free: 26.32 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.01485, allocations: 3.25 kB / 1.076 GB, free: 26.32 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.01485, allocations: 3.938 kB / 1.076 GB, free: 26.32 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01486, allocations: 3.938 kB / 1.076 GB, free: 26.31 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.01537, allocations: 460.7 kB / 1.077 GB, free: 26 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01537, allocations: 0 / 1.077 GB, free: 26 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.599e-05/0.01545, allocations: 18.98 kB / 1.077 GB, free: 25.99 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.01546, allocations: 6.594 kB / 1.077 GB, free: 25.99 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.01547, allocations: 7.219 kB / 1.077 GB, free: 25.98 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01548, allocations: 6.75 kB / 1.077 GB, free: 25.98 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01548, allocations: 0 / 1.077 GB, free: 25.98 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.01573, allocations: 246.7 kB / 1.077 GB, free: 25.81 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 1.699e-05/0.01574, allocations: 13.58 kB / 1.077 GB, free: 25.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.01577, allocations: 7.922 kB / 1.077 GB, free: 25.79 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.209e-05/0.01585, allocations: 10 kB / 1.077 GB, free: 25.79 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/0.01593, allocations: 15.66 kB / 1.077 GB, free: 25.79 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.01594, allocations: 5.25 kB / 1.077 GB, free: 25.79 MB / 1.01 GB Notification: Performance of sorting global known variables: time 5.171e-05/0.016, allocations: 106.8 kB / 1.077 GB, free: 25.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.016, allocations: 3.938 kB / 1.077 GB, free: 25.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003381/0.01633, allocations: 86.7 kB / 1.077 GB, free: 25.67 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.0001758/0.01651, allocations: 115.2 kB / 1.077 GB, free: 25.57 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004284/0.01694, allocations: 362.3 kB / 1.077 GB, free: 25.32 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01694, allocations: 0 / 1.077 GB, free: 25.32 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.01705, allocations: 62.78 kB / 1.078 GB, free: 25.3 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.01736, allocations: 24.59 kB / 1.078 GB, free: 25.29 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006695/0.01803, allocations: 416.1 kB / 1.078 GB, free: 25.01 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.01815, allocations: 153.6 kB / 1.078 GB, free: 24.93 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 8.601e-05/0.01824, allocations: 29.86 kB / 1.078 GB, free: 24.92 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.01829, allocations: 24.69 kB / 1.078 GB, free: 24.91 MB / 1.01 GB Notification: Performance of SimCode: time 4.41e-07/0.01829, allocations: 2.812 kB / 1.078 GB, free: 24.91 MB / 1.01 GB Notification: Performance of Templates: time 0.006375/0.02467, allocations: 2.805 MB / 1.081 GB, free: 24.6 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 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > 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: 9.28778720999253]