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.001874/0.001874, allocations: 85.48 kB / 19.44 MB, free: 344 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.001991/0.001991, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.561/1.561, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.405/3.405, allocations: 429.5 MB / 0.6729 GB, free: 4.016 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.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 5.47e-06/5.47e-06, allocations: 4.859 kB / 0.8775 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.932e-05, allocations: 6.312 kB / 0.8775 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE): time 0.003552/0.003581, allocations: 1.775 MB / 0.8792 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002501/0.006082, allocations: 1.579 MB / 0.8808 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.006271, allocations: 11.94 kB / 0.8808 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.006396, allocations: 59.2 kB / 0.8809 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.006604, allocations: 61.92 kB / 0.8809 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008081/0.007412, allocations: 371.2 kB / 0.8813 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.001022/0.008434, allocations: 0.6618 MB / 0.8819 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004447/0.008879, allocations: 250.2 kB / 0.8822 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004577/0.009337, allocations: 371.3 kB / 0.8825 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002767/0.009613, allocations: 204.4 kB / 0.8827 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.009734, allocations: 80 kB / 0.8828 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.00988, allocations: 83.98 kB / 0.8829 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.01004, allocations: 149.1 kB / 0.883 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000237/0.01027, allocations: 199.5 kB / 0.8832 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.01142, allocations: 0.985 MB / 0.8842 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.01142, allocations: 0 / 0.8842 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.573e-06/0.01142, allocations: 5.562 kB / 0.8842 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.01143, allocations: 0 / 0.8842 GB, free: 15.79 MB / 0.8542 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.001578/0.01301, allocations: 0.9252 MB / 0.8851 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.01305, allocations: 8.031 kB / 0.8851 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.01326, allocations: 112.6 kB / 0.8852 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006617/0.01392, allocations: 385 kB / 0.8855 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.133e-05/0.01397, allocations: 43.34 kB / 0.8856 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.816e-05/0.01407, allocations: 64.38 kB / 0.8856 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.01511, allocations: 0.634 MB / 0.8863 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.01512, allocations: 192 / 0.8863 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.087e-05/0.01517, allocations: 25.72 kB / 0.8863 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.01519, allocations: 16.38 kB / 0.8863 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008476/0.01604, allocations: 413 kB / 0.8867 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002503/0.01854, allocations: 1.456 MB / 0.8881 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004842/0.01903, allocations: 247.7 kB / 0.8884 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.01927, allocations: 115.6 kB / 0.8885 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.249e-05/0.01931, allocations: 12 kB / 0.8885 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003614/0.01968, allocations: 183.1 kB / 0.8887 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=34): time 1.493e-06/0.01968, allocations: 0 / 0.8887 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34): time 0.0009806/0.02066, allocations: 391.5 kB / 0.889 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.02071, allocations: 59.34 kB / 0.8891 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000508/0.02122, allocations: 450 kB / 0.8895 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.82e-05/0.02127, allocations: 37.64 kB / 0.8896 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003211/0.02159, allocations: 387.2 kB / 0.8899 GB, free: 9.668 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.02171, allocations: 127 kB / 0.89 GB, free: 9.543 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.02193, allocations: 135.8 kB / 0.8902 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003057/0.02224, allocations: 0.543 MB / 0.8907 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.02257, allocations: 170.6 kB / 0.8909 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005359/0.02311, allocations: 390.8 kB / 0.8912 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007939/0.0239, allocations: 0.5031 MB / 0.8917 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.02391, allocations: 0 / 0.8917 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001057/0.02497, allocations: 0.5762 MB / 0.8923 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.577e-05/0.02502, allocations: 48.34 kB / 0.8923 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.02503, allocations: 4 kB / 0.8923 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.02505, allocations: 8 kB / 0.8923 GB, free: 6.945 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.02544, allocations: 99.83 kB / 0.8924 GB, free: 6.848 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-05/0.02546, allocations: 11.94 kB / 0.8925 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.02579, allocations: 67.59 kB / 0.8925 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.825e-05/0.02583, allocations: 28.25 kB / 0.8925 GB, free: 6.742 MB / 0.8542 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.0002712/0.0261, allocations: 240.3 kB / 0.8928 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.034e-05/0.02617, allocations: 43.81 kB / 0.8928 GB, free: 6.453 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007619/0.02694, allocations: 339 kB / 0.8931 GB, free: 6.109 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.02694, allocations: 4 kB / 0.8931 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.02695, allocations: 0 / 0.8931 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.02695, allocations: 3.984 kB / 0.8931 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.02851, allocations: 0.9697 MB / 0.8941 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.02852, allocations: 4.188 kB / 0.8941 GB, free: 5.062 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.02876, allocations: 59.91 kB / 0.8942 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.02877, allocations: 7.938 kB / 0.8942 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.02879, allocations: 11.98 kB / 0.8942 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.0288, allocations: 7.938 kB / 0.8942 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.0288, allocations: 0 / 0.8942 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007586/0.02956, allocations: 0.5084 MB / 0.8947 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/0.02963, allocations: 43.64 kB / 0.8947 GB, free: 4.383 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.02967, allocations: 11.94 kB / 0.8947 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.02982, allocations: 15.98 kB / 0.8947 GB, free: 4.355 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.948e-05/0.02989, allocations: 27.95 kB / 0.8948 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.02992, allocations: 12 kB / 0.8948 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002852/0.0302, allocations: 271 kB / 0.895 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.0302, allocations: 0 / 0.895 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004793/0.03068, allocations: 115.6 kB / 0.8952 GB, free: 3.941 MB / 0.8542 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.0001989/0.03088, allocations: 111.1 kB / 0.8953 GB, free: 3.824 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.03201, allocations: 486.2 kB / 0.8957 GB, free: 3.328 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.03201, allocations: 0 / 0.8957 GB, free: 3.328 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.03231, allocations: 149.8 kB / 0.8959 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.03281, allocations: 73 kB / 0.8959 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.03426, allocations: 0.793 MB / 0.8967 GB, free: 2.262 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.03453, allocations: 238.2 kB / 0.8969 GB, free: 2.004 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001961/0.03473, allocations: 59.25 kB / 0.897 GB, free: 1.941 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.864e-05/0.03483, allocations: 36.5 kB / 0.897 GB, free: 1.906 MB / 0.8542 GB Notification: Performance of SimCode: time 8.21e-07/0.03483, allocations: 4 kB / 0.897 GB, free: 1.902 MB / 0.8542 GB Notification: Performance of Templates: time 0.009559/0.04439, allocations: 3.672 MB / 0.9006 GB, free: 14.32 MB / 0.8698 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 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE.pipe 2>&1) [Timeout 240] 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: 8.55248173396103]