Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE.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.0008694/0.0008694, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0008645/0.0008645, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.9238/0.9238, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.987/1.987, allocations: 429.6 MB / 0.6733 GB, free: 4.062 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.HeadPressure.Subsequences.Validation.MappingWithWSE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|witWSE.uHeaPreCon|witWSE.yMaxTowSpeSet|witWSE.yConWatPumSpeSet|witWSE.desConWatPumSpe|witWSE.yHeaPreConVal|witWSE.uHeaPreEna|noWSE.uHeaPreCon|noWSE.yMaxTowSpeSet|noWSE.yConWatPumSpeSet|noWSE.desConWatPumSpe|noWSE.yHeaPreConVal|noWSE.uHeaPreEna",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE") translateModel(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|witWSE.uHeaPreCon|witWSE.yMaxTowSpeSet|witWSE.yConWatPumSpeSet|witWSE.desConWatPumSpe|witWSE.yHeaPreConVal|witWSE.uHeaPreEna|noWSE.uHeaPreCon|noWSE.yMaxTowSpeSet|noWSE.yConWatPumSpeSet|noWSE.desConWatPumSpe|noWSE.yHeaPreConVal|noWSE.uHeaPreEna",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 1.066 GB, free: 33.4 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.001e-05/3.241e-05, allocations: 3.406 kB / 1.066 GB, free: 33.4 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE): time 0.002999/0.003031, allocations: 1.69 MB / 1.068 GB, free: 32.29 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.002308/0.00534, allocations: 1.576 MB / 1.069 GB, free: 31.13 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003975/0.005737, allocations: 16.28 kB / 1.069 GB, free: 31.12 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.005865, allocations: 53.2 kB / 1.069 GB, free: 31.08 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.006084, allocations: 64.2 kB / 1.069 GB, free: 31.02 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009149/0.006999, allocations: 369.8 kB / 1.07 GB, free: 30.81 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0007525/0.007751, allocations: 0.6673 MB / 1.07 GB, free: 30.47 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000451/0.008202, allocations: 241.2 kB / 1.071 GB, free: 30.34 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004164/0.008619, allocations: 372.4 kB / 1.071 GB, free: 30.14 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.008854, allocations: 206.5 kB / 1.071 GB, free: 30.05 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.008956, allocations: 75.94 kB / 1.071 GB, free: 30.05 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.009091, allocations: 90.19 kB / 1.071 GB, free: 30.05 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.009191, allocations: 151.4 kB / 1.071 GB, free: 29.94 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.00937, allocations: 200 kB / 1.072 GB, free: 29.82 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0008899/0.01026, allocations: 0.9906 MB / 1.073 GB, free: 29.46 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.01027, allocations: 0 / 1.073 GB, free: 29.46 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.865e-06/0.01027, allocations: 0 / 1.073 GB, free: 29.46 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3e-05/0.0103, allocations: 0 / 1.073 GB, free: 29.46 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001345/0.01164, allocations: 0.7758 MB / 1.073 GB, free: 28.88 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.01169, allocations: 8.562 kB / 1.073 GB, free: 28.88 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.01182, allocations: 65 kB / 1.073 GB, free: 28.85 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005754/0.01239, allocations: 364.8 kB / 1.074 GB, free: 28.59 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.758e-05/0.01243, allocations: 50.59 kB / 1.074 GB, free: 28.57 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.847e-05/0.0125, allocations: 61.34 kB / 1.074 GB, free: 28.55 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008383/0.01334, allocations: 0.6509 MB / 1.075 GB, free: 28.15 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.01335, allocations: 192 / 1.075 GB, free: 28.15 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.481e-05/0.0134, allocations: 25.31 kB / 1.075 GB, free: 28.13 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.01341, allocations: 13.88 kB / 1.075 GB, free: 28.13 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007049/0.01411, allocations: 441 kB / 1.075 GB, free: 27.97 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.01587, allocations: 1.11 MB / 1.076 GB, free: 27.32 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003855/0.01626, allocations: 227.3 kB / 1.076 GB, free: 27.21 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.01646, allocations: 119.5 kB / 1.076 GB, free: 27.16 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.0165, allocations: 9.328 kB / 1.076 GB, free: 27.16 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002868/0.01678, allocations: 179.9 kB / 1.077 GB, free: 27.07 MB / 1.01 GB Notification: Performance of pre-optimization done (n=34): time 2.625e-06/0.01679, allocations: 0 / 1.077 GB, free: 27.07 MB / 1.01 GB Notification: Performance of matching and sorting (n=34): time 0.0007471/0.01753, allocations: 394.3 kB / 1.077 GB, free: 26.91 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.01756, allocations: 58.31 kB / 1.077 GB, free: 26.85 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.01784, allocations: 327.1 kB / 1.077 GB, free: 26.66 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.01787, allocations: 36.58 kB / 1.077 GB, free: 26.62 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.01802, allocations: 315.5 kB / 1.078 GB, free: 26.37 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.381e-05/0.01808, allocations: 119.7 kB / 1.078 GB, free: 26.27 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.01823, allocations: 109.3 kB / 1.078 GB, free: 26.21 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.744e-05/0.01828, allocations: 350 kB / 1.078 GB, free: 25.88 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.01856, allocations: 168.8 kB / 1.078 GB, free: 25.81 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.01889, allocations: 321.8 kB / 1.079 GB, free: 25.54 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005446/0.01943, allocations: 458.3 kB / 1.079 GB, free: 25.2 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.01944, allocations: 0 / 1.079 GB, free: 25.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008076/0.02025, allocations: 0.5552 MB / 1.08 GB, free: 24.93 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/0.02029, allocations: 37.75 kB / 1.08 GB, free: 24.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.0203, allocations: 3.594 kB / 1.08 GB, free: 24.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.02033, allocations: 12.69 kB / 1.08 GB, free: 24.89 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.02064, allocations: 103 kB / 1.08 GB, free: 24.88 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.02066, allocations: 15.94 kB / 1.08 GB, free: 24.88 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.02094, allocations: 74.34 kB / 1.08 GB, free: 24.84 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-05/0.02098, allocations: 27.06 kB / 1.08 GB, free: 24.84 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,enaPreCon.y,$PRE.enaPreCon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 1 * 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.0001699/0.02115, allocations: 186.7 kB / 1.08 GB, free: 24.68 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.02119, allocations: 30.09 kB / 1.08 GB, free: 24.66 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005681/0.02175, allocations: 354.2 kB / 1.08 GB, free: 24.5 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.02176, allocations: 6.812 kB / 1.08 GB, free: 24.5 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.02177, allocations: 6.875 kB / 1.08 GB, free: 24.5 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.02177, allocations: 3.234 kB / 1.08 GB, free: 24.5 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.02281, allocations: 0.7977 MB / 1.081 GB, free: 24 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.02281, allocations: 2.188 kB / 1.081 GB, free: 24 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.023, allocations: 64.95 kB / 1.081 GB, free: 24 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.02301, allocations: 13.53 kB / 1.081 GB, free: 23.99 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.02302, allocations: 6.781 kB / 1.081 GB, free: 23.98 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.02303, allocations: 2.688 kB / 1.081 GB, free: 23.98 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.02303, allocations: 6.688 kB / 1.081 GB, free: 23.98 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004784/0.02351, allocations: 440.5 kB / 1.082 GB, free: 23.7 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.02355, allocations: 41.53 kB / 1.082 GB, free: 23.68 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.02359, allocations: 8.406 kB / 1.082 GB, free: 23.67 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.02372, allocations: 16.42 kB / 1.082 GB, free: 23.66 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.02378, allocations: 28.67 kB / 1.082 GB, free: 23.66 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.0238, allocations: 19.3 kB / 1.082 GB, free: 23.65 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001552/0.02395, allocations: 204.4 kB / 1.082 GB, free: 23.54 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02395, allocations: 0 / 1.082 GB, free: 23.54 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004805/0.02443, allocations: 117.3 kB / 1.082 GB, free: 23.5 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,enaPreCon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001979/0.02463, allocations: 118.2 kB / 1.082 GB, free: 23.39 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00066/0.02529, allocations: 435.8 kB / 1.083 GB, free: 23.18 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.02529, allocations: 2.75 kB / 1.083 GB, free: 23.18 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.02552, allocations: 138.5 kB / 1.083 GB, free: 23.13 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.02596, allocations: 66.55 kB / 1.083 GB, free: 23.1 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.02706, allocations: 0.7783 MB / 1.084 GB, free: 22.59 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.02723, allocations: 241 kB / 1.084 GB, free: 22.48 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.02734, allocations: 46.25 kB / 1.084 GB, free: 22.47 MB / 1.01 GB Notification: Performance of SimCode: time 1.222e-06/0.02734, allocations: 0 / 1.084 GB, free: 22.47 MB / 1.01 GB Notification: Performance of Templates: time 0.007526/0.03486, allocations: 5.302 MB / 1.089 GB, free: 21.86 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE -emit_protected > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_Plants_Chillers_HeadPressure_Subsequences_Validation_MappingWithWSE.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE.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.43427125737071]