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.001821/0.001821, allocations: 84.73 kB / 19.44 MB, free: 356 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.001641/0.001641, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.486/1.486, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.214/3.214, allocations: 429.6 MB / 0.673 GB, free: 3.895 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 1.773e-06/1.773e-06, allocations: 0 / 0.8776 GB, free: 6.422 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.454e-05, allocations: 2.312 kB / 0.8777 GB, free: 6.418 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE): time 0.003418/0.003443, allocations: 1.691 MB / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002694/0.006136, allocations: 1.573 MB / 0.8808 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000287/0.006423, allocations: 11.94 kB / 0.8808 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.006589, allocations: 59.2 kB / 0.8809 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.006839, allocations: 57.55 kB / 0.881 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009409/0.00778, allocations: 375.7 kB / 0.8813 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0009842/0.008764, allocations: 0.6622 MB / 0.882 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005018/0.009266, allocations: 250.2 kB / 0.8822 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005666/0.009833, allocations: 371.3 kB / 0.8826 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.01014, allocations: 200.2 kB / 0.8827 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.01027, allocations: 76 kB / 0.8828 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.01045, allocations: 95.91 kB / 0.8829 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.01064, allocations: 152.8 kB / 0.8831 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000279/0.01092, allocations: 203.5 kB / 0.8833 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.01215, allocations: 0.9812 MB / 0.8842 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.01216, allocations: 1.531 kB / 0.8842 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.72e-07/0.01216, allocations: 0 / 0.8842 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.454e-05/0.01218, allocations: 0 / 0.8842 GB, free: 15.69 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.002266/0.01445, allocations: 0.7803 MB / 0.885 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.01449, allocations: 12.03 kB / 0.885 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002459/0.01474, allocations: 108.6 kB / 0.8851 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006995/0.01544, allocations: 377.5 kB / 0.8854 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.373e-05/0.01549, allocations: 45.69 kB / 0.8855 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.01561, allocations: 68.31 kB / 0.8856 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.01677, allocations: 0.6574 MB / 0.8862 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.01678, allocations: 192 / 0.8862 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.616e-05/0.01684, allocations: 24.38 kB / 0.8862 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.01686, allocations: 16.38 kB / 0.8862 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009536/0.01781, allocations: 437 kB / 0.8867 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002352/0.02017, allocations: 1.126 MB / 0.8878 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00052/0.02069, allocations: 218.7 kB / 0.888 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.02097, allocations: 112.8 kB / 0.8881 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.02101, allocations: 12 kB / 0.8881 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004155/0.02142, allocations: 182 kB / 0.8883 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/0.02142, allocations: 0 / 0.8883 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34): time 0.001066/0.02249, allocations: 403.4 kB / 0.8886 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.02254, allocations: 55.41 kB / 0.8887 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004229/0.02297, allocations: 324.3 kB / 0.889 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/0.02302, allocations: 33.7 kB / 0.889 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/0.02332, allocations: 324.4 kB / 0.8893 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.02346, allocations: 115 kB / 0.8895 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.02367, allocations: 114.1 kB / 0.8896 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002377/0.02391, allocations: 346.7 kB / 0.8899 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003906/0.0243, allocations: 166.6 kB / 0.8901 GB, free: 9.492 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005524/0.02485, allocations: 316.9 kB / 0.8904 GB, free: 9.109 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000857/0.02571, allocations: 455.8 kB / 0.8908 GB, free: 8.594 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.02571, allocations: 0 / 0.8908 GB, free: 8.594 MB / 0.8542 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001456/0.02717, allocations: 0.5836 MB / 0.8914 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.775e-05/0.02723, allocations: 40.05 kB / 0.8914 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.02724, allocations: 4 kB / 0.8914 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.02727, allocations: 8.625 kB / 0.8914 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.02769, allocations: 103.8 kB / 0.8915 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.046e-05/0.02771, allocations: 15.94 kB / 0.8915 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004006/0.02811, allocations: 79.58 kB / 0.8916 GB, free: 7.742 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.365e-05/0.02817, allocations: 24 kB / 0.8916 GB, free: 7.719 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.000279/0.02845, allocations: 193.6 kB / 0.8918 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.458e-05/0.02853, allocations: 43.81 kB / 0.8918 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008553/0.02939, allocations: 343.1 kB / 0.8922 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.02939, allocations: 7.984 kB / 0.8922 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.0294, allocations: 4 kB / 0.8922 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.0294, allocations: 0 / 0.8922 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.03103, allocations: 0.817 MB / 0.893 GB, free: 6.254 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.03103, allocations: 3.938 kB / 0.893 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/0.0313, allocations: 59.91 kB / 0.893 GB, free: 6.191 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/0.03131, allocations: 8.125 kB / 0.8931 GB, free: 6.184 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.03134, allocations: 15.98 kB / 0.8931 GB, free: 6.168 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.03135, allocations: 4 kB / 0.8931 GB, free: 6.164 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.03136, allocations: 7.938 kB / 0.8931 GB, free: 6.156 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008622/0.03222, allocations: 451.2 kB / 0.8935 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.7e-05/0.0323, allocations: 47.62 kB / 0.8936 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/0.03235, allocations: 12 kB / 0.8936 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.03253, allocations: 15.98 kB / 0.8936 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.349e-05/0.03261, allocations: 27.91 kB / 0.8936 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.03265, allocations: 15.98 kB / 0.8936 GB, free: 5.566 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002576/0.0329, allocations: 207.1 kB / 0.8938 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.0329, allocations: 0 / 0.8938 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005469/0.03345, allocations: 119.6 kB / 0.8939 GB, free: 5.25 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.0002222/0.03367, allocations: 113.2 kB / 0.894 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009502/0.03462, allocations: 425.7 kB / 0.8945 GB, free: 4.699 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.03463, allocations: 0 / 0.8945 GB, free: 4.699 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003281/0.03495, allocations: 134.2 kB / 0.8946 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005582/0.03551, allocations: 86.02 kB / 0.8947 GB, free: 4.484 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.03701, allocations: 0.7605 MB / 0.8954 GB, free: 3.676 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.03733, allocations: 234.2 kB / 0.8956 GB, free: 3.426 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002244/0.03755, allocations: 55.27 kB / 0.8957 GB, free: 3.367 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.03767, allocations: 44.48 kB / 0.8957 GB, free: 3.32 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.03767, allocations: 4 kB / 0.8957 GB, free: 3.316 MB / 0.8542 GB Notification: Performance of Templates: time 0.01038/0.04806, allocations: 3.664 MB / 0.8993 GB, free: 15.75 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=800 -emit_protected -lv LOG_STATS > 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: 8.30183378700167]