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.MappingWithoutWSE.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.001187/0.001187, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001012/0.001012, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9292/0.9292, allocations: 177.1 MB / 204.5 MB, free: 5.504 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 2.093/2.093, allocations: 429.5 MB / 0.6743 GB, free: 3.926 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.MappingWithoutWSE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fixPumSpe.uHeaPreCon|fixPumSpe.yMaxTowSpeSet|fixPumSpe.yHeaPreConVal|fixPumSpe.uHeaPreEna|varPumSpe.uHeaPreCon|varPumSpe.yMaxTowSpeSet|varPumSpe.yConWatPumSpeSet|varPumSpe.desConWatPumSpe|varPumSpe.uHeaPreEna",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithoutWSE") translateModel(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithoutWSE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fixPumSpe.uHeaPreCon|fixPumSpe.yMaxTowSpeSet|fixPumSpe.yHeaPreConVal|fixPumSpe.uHeaPreEna|varPumSpe.uHeaPreCon|varPumSpe.yMaxTowSpeSet|varPumSpe.yConWatPumSpeSet|varPumSpe.desConWatPumSpe|varPumSpe.uHeaPreEna",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithoutWSE") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0.875 kB / 0.8795 GB, free: 4.816 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.56e-05, allocations: 4.141 kB / 0.8795 GB, free: 4.812 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithoutWSE): time 0.002607/0.002633, allocations: 1.369 MB / 0.8808 GB, free: 3.473 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002162/0.004795, allocations: 1.479 MB / 0.8822 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002003/0.004995, allocations: 7.938 kB / 0.8822 GB, free: 1.973 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.005176, allocations: 43.41 kB / 0.8823 GB, free: 1.93 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.005297, allocations: 49.31 kB / 0.8823 GB, free: 1.883 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006718/0.005969, allocations: 275.4 kB / 0.8826 GB, free: 1.613 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0005046/0.006474, allocations: 460.5 kB / 0.883 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.006733, allocations: 131.2 kB / 0.8832 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.007032, allocations: 251.5 kB / 0.8834 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.007206, allocations: 115.6 kB / 0.8835 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 5.804e-05/0.007264, allocations: 41.78 kB / 0.8836 GB, free: 0.6328 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.715e-05/0.007361, allocations: 55.98 kB / 0.8836 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.678e-05/0.007448, allocations: 83.67 kB / 0.8837 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 8.47e-05/0.007532, allocations: 119.7 kB / 0.8838 GB, free: 388 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.007789, allocations: 297.6 kB / 0.8841 GB, free: 92 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.007791, allocations: 0 / 0.8841 GB, free: 92 kB / 0.7917 GB Notification: Performance of FrontEnd: time 7.52e-07/0.007791, allocations: 0 / 0.8841 GB, free: 92 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.007797, allocations: 0 / 0.8841 GB, free: 92 kB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0006458/0.008443, allocations: 0.6887 MB / 0.8848 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.008473, allocations: 12.75 kB / 0.8848 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.741e-05/0.008551, allocations: 68.7 kB / 0.8848 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.008812, allocations: 281.2 kB / 0.8851 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.008836, allocations: 33.03 kB / 0.8851 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.008869, allocations: 36.38 kB / 0.8852 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.009121, allocations: 310.1 kB / 0.8855 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.009131, allocations: 192 / 0.8855 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.009151, allocations: 16.38 kB / 0.8855 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.009158, allocations: 8.375 kB / 0.8855 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.009278, allocations: 108.4 kB / 0.8856 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007294/0.01001, allocations: 0.7031 MB / 0.8863 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.01012, allocations: 104.5 kB / 0.8864 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.814e-05/0.01016, allocations: 35.66 kB / 0.8864 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.01017, allocations: 4 kB / 0.8864 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/0.01028, allocations: 107 kB / 0.8865 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 1.252e-06/0.01028, allocations: 0 / 0.8865 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0002321/0.01051, allocations: 165.3 kB / 0.8867 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.01054, allocations: 63.41 kB / 0.8867 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.01071, allocations: 315.9 kB / 0.887 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.01073, allocations: 25.7 kB / 0.8871 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.01085, allocations: 282.8 kB / 0.8873 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.01088, allocations: 63.42 kB / 0.8874 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.868e-05/0.01096, allocations: 83.64 kB / 0.8875 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.01108, allocations: 0.504 MB / 0.888 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.359e-05/0.01115, allocations: 73.98 kB / 0.888 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.0113, allocations: 240.9 kB / 0.8883 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.0115, allocations: 302.6 kB / 0.8886 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.0115, allocations: 4 kB / 0.8886 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000309/0.01181, allocations: 352.7 kB / 0.8889 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.01184, allocations: 37.7 kB / 0.8889 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.01184, allocations: 4 kB / 0.8889 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.01185, allocations: 11.94 kB / 0.8889 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.01199, allocations: 63.84 kB / 0.889 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.01199, allocations: 7.984 kB / 0.889 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.01212, allocations: 55.72 kB / 0.8891 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.01214, allocations: 12 kB / 0.8891 GB, free: 10.56 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (39): * Single equations (assignments): 38 * 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.0001049/0.01225, allocations: 196.5 kB / 0.8893 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.01227, allocations: 27.86 kB / 0.8893 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001905/0.01246, allocations: 165.7 kB / 0.8894 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01246, allocations: 4 kB / 0.8895 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.01246, allocations: 0 / 0.8895 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01247, allocations: 7.938 kB / 0.8895 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003952/0.01286, allocations: 0.5138 MB / 0.89 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01287, allocations: 0 / 0.89 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.288e-05/0.01294, allocations: 39.92 kB / 0.89 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.01294, allocations: 3.938 kB / 0.89 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.01295, allocations: 7.984 kB / 0.89 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.01295, allocations: 4 kB / 0.89 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01296, allocations: 0 / 0.89 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.01317, allocations: 342.5 kB / 0.8903 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.0132, allocations: 27.78 kB / 0.8904 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.01322, allocations: 11.92 kB / 0.8904 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.812e-05/0.01328, allocations: 8 kB / 0.8904 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.01331, allocations: 15.97 kB / 0.8904 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.01332, allocations: 8 kB / 0.8904 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.782e-05/0.0134, allocations: 189.1 kB / 0.8906 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.0134, allocations: 0 / 0.8906 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000228/0.01363, allocations: 75.83 kB / 0.8907 GB, free: 8.836 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (22): * Single equations (assignments): 21 * 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.0001033/0.01373, allocations: 115.1 kB / 0.8908 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.01396, allocations: 260.4 kB / 0.891 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01396, allocations: 0 / 0.891 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.927e-05/0.01402, allocations: 61.7 kB / 0.8911 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.01427, allocations: 52.72 kB / 0.8911 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004917/0.01476, allocations: 495.1 kB / 0.8916 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.073e-05/0.01481, allocations: 92.3 kB / 0.8917 GB, free: 7.691 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.739e-05/0.0149, allocations: 38.97 kB / 0.8917 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.01501, allocations: 130.2 kB / 0.8919 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of SimCode: time 5.31e-07/0.01501, allocations: 0 / 0.8919 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of Templates: time 0.00476/0.01977, allocations: 3.032 MB / 0.8948 GB, free: 4.586 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithoutWSE.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithoutWSE.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithoutWSE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithoutWSE.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithoutWSE.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithoutWSE -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithoutWSE.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithoutWSE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_Plants_Chillers_HeadPressure_Subsequences_Validation_MappingWithoutWSE.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.319080921355635]