Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply.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.001862/0.001862, 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.002251/0.002251, allocations: 211.1 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.626/1.626, allocations: 230.6 MB / 256 MB, free: 7.785 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.722/3.722, allocations: 0.5569 GB / 0.862 GB, free: 4.273 MB / 0.6544 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.SetPoints.Validation.ChilledWaterSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiWatSupSet.dpChiWatSet.1.|chiWatSupSet.uChiWatPlaRes|chiWatSupSet.TChiWatSupSet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply") translateModel(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiWatSupSet.dpChiWatSet.1.|chiWatSupSet.uChiWatPlaRes|chiWatSupSet.TChiWatSupSet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 71.89 kB / 1.255 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.498/0.5003, allocations: 193.6 MB / 1.444 GB, free: 15.42 MB / 1.139 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply): time 0.002769/0.5031, allocations: 0.9248 MB / 1.445 GB, free: 14.5 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.5048, allocations: 0.9486 MB / 1.446 GB, free: 13.54 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.9e-05/0.5049, allocations: 0 / 1.446 GB, free: 13.54 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.505, allocations: 31.72 kB / 1.446 GB, free: 13.5 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.5052, allocations: 39.78 kB / 1.446 GB, free: 13.46 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.5054, allocations: 63.92 kB / 1.446 GB, free: 13.4 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0003686/0.5058, allocations: 215.2 kB / 1.447 GB, free: 13.19 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.506, allocations: 61.64 kB / 1.447 GB, free: 13.13 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.5061, allocations: 71.72 kB / 1.447 GB, free: 13.06 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.5062, allocations: 83.61 kB / 1.447 GB, free: 12.98 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.661e-05/0.5063, allocations: 19.98 kB / 1.447 GB, free: 12.96 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 3.689e-05/0.5063, allocations: 16 kB / 1.447 GB, free: 12.94 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 8.886e-05/0.5064, allocations: 47.84 kB / 1.447 GB, free: 12.89 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 9.423e-05/0.5065, allocations: 67.66 kB / 1.447 GB, free: 12.83 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.5069, allocations: 231.1 kB / 1.447 GB, free: 12.6 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.5069, allocations: 0 / 1.447 GB, free: 12.6 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5069, allocations: 0 / 1.447 GB, free: 12.6 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.5069, allocations: 0 / 1.447 GB, free: 12.6 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0009847/0.5079, allocations: 415.3 kB / 1.448 GB, free: 12.17 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.5079, allocations: 19.95 kB / 1.448 GB, free: 12.15 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.738e-05/0.508, allocations: 16.84 kB / 1.448 GB, free: 12.13 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004666/0.5084, allocations: 207.2 kB / 1.448 GB, free: 11.91 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.5084, allocations: 8.375 kB / 1.448 GB, free: 11.9 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.5085, allocations: 16.31 kB / 1.448 GB, free: 11.88 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/0.5089, allocations: 225.6 kB / 1.448 GB, free: 11.64 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.5089, allocations: 0 / 1.448 GB, free: 11.64 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.5089, allocations: 4 kB / 1.448 GB, free: 11.64 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.509, allocations: 4 kB / 1.448 GB, free: 11.64 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003857/0.5093, allocations: 147.9 kB / 1.448 GB, free: 11.49 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009793/0.5103, allocations: 463.9 kB / 1.449 GB, free: 11.01 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.5106, allocations: 90.53 kB / 1.449 GB, free: 10.91 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.5108, allocations: 52.81 kB / 1.449 GB, free: 10.86 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.5108, allocations: 0 / 1.449 GB, free: 10.86 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.629e-05/0.5108, allocations: 38.56 kB / 1.449 GB, free: 10.81 MB / 1.139 GB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.5108, allocations: 0 / 1.449 GB, free: 10.81 MB / 1.139 GB Notification: Performance of matching and sorting (n=7): time 0.0005407/0.5114, allocations: 161.5 kB / 1.449 GB, free: 10.64 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.5114, allocations: 63.34 kB / 1.449 GB, free: 10.57 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.5117, allocations: 194.2 kB / 1.449 GB, free: 10.37 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.5117, allocations: 25.7 kB / 1.449 GB, free: 10.34 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.5118, allocations: 139.8 kB / 1.449 GB, free: 10.2 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.5119, allocations: 23.8 kB / 1.449 GB, free: 10.18 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.335e-05/0.5119, allocations: 37.66 kB / 1.449 GB, free: 10.13 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.5121, allocations: 326.8 kB / 1.45 GB, free: 9.805 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.5123, allocations: 51.95 kB / 1.45 GB, free: 9.754 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.5125, allocations: 96.19 kB / 1.45 GB, free: 9.645 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.5128, allocations: 140.2 kB / 1.45 GB, free: 9.492 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.5128, allocations: 0 / 1.45 GB, free: 9.492 MB / 1.139 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004596/0.5132, allocations: 169.4 kB / 1.45 GB, free: 9.32 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.5133, allocations: 8 kB / 1.45 GB, free: 9.312 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.5133, allocations: 0 / 1.45 GB, free: 9.312 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.5133, allocations: 3.984 kB / 1.45 GB, free: 9.309 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.5135, allocations: 36.05 kB / 1.45 GB, free: 9.273 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5135, allocations: 4 kB / 1.45 GB, free: 9.27 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.5136, allocations: 19.88 kB / 1.45 GB, free: 9.25 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.5136, allocations: 4 kB / 1.45 GB, free: 9.246 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001583/0.5138, allocations: 145.7 kB / 1.45 GB, free: 9.094 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.5138, allocations: 15.91 kB / 1.45 GB, free: 9.078 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004322/0.5142, allocations: 151 kB / 1.451 GB, free: 8.918 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5142, allocations: 3.938 kB / 1.451 GB, free: 8.914 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5142, allocations: 4 kB / 1.451 GB, free: 8.91 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5142, allocations: 192 / 1.451 GB, free: 8.91 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006953/0.5149, allocations: 412 kB / 1.451 GB, free: 8.465 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5149, allocations: 3.938 kB / 1.451 GB, free: 8.461 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.5151, allocations: 19.98 kB / 1.451 GB, free: 8.441 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.5151, allocations: 4 kB / 1.451 GB, free: 8.438 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.5151, allocations: 0 / 1.451 GB, free: 8.438 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.5151, allocations: 0 / 1.451 GB, free: 8.438 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5151, allocations: 8.062 kB / 1.451 GB, free: 8.43 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000451/0.5155, allocations: 249.1 kB / 1.451 GB, free: 8.164 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/0.5156, allocations: 23.89 kB / 1.451 GB, free: 8.141 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.5156, allocations: 0 / 1.451 GB, free: 8.141 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.5157, allocations: 11.98 kB / 1.451 GB, free: 8.129 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.5158, allocations: 19.86 kB / 1.451 GB, free: 8.109 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.5158, allocations: 4 kB / 1.451 GB, free: 8.105 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001469/0.5159, allocations: 132.2 kB / 1.451 GB, free: 7.977 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.5159, allocations: 4 kB / 1.451 GB, free: 7.973 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.000272/0.5162, allocations: 31.89 kB / 1.451 GB, free: 7.941 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0001467/0.5164, allocations: 103.2 kB / 1.452 GB, free: 7.832 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0003982/0.5168, allocations: 119.8 kB / 1.452 GB, free: 7.715 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5168, allocations: 7.938 kB / 1.452 GB, free: 7.707 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.5169, allocations: 56.27 kB / 1.452 GB, free: 7.652 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.5173, allocations: 27.08 kB / 1.452 GB, free: 7.629 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007311/0.518, allocations: 330.5 kB / 1.452 GB, free: 7.27 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.5182, allocations: 127.3 kB / 1.452 GB, free: 7.129 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001169/0.5183, allocations: 25.06 kB / 1.452 GB, free: 7.105 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.302e-05/0.5184, allocations: 15.44 kB / 1.452 GB, free: 7.09 MB / 1.139 GB Notification: Performance of SimCode: time 3.41e-07/0.5184, allocations: 4.281 kB / 1.452 GB, free: 7.086 MB / 1.139 GB Notification: Performance of Templates: time 0.00532/0.5237, allocations: 1.473 MB / 1.454 GB, free: 5.672 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_Plants_Chillers_SetPoints_Validation_ChilledWaterSupply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply.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: 10.317569073289633]