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.0009848/0.0009848, allocations: 93.06 kB / 19.65 MB, free: 276 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.001026/0.001026, allocations: 165.3 kB / 23.02 MB, free: 1.547 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.9898/0.9898, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.128/2.128, allocations: 429.5 MB / 0.6732 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 1.703e-06/1.703e-06, allocations: 0 / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.087e-05, allocations: 9.203 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE): time 0.002424/0.002445, allocations: 1.831 MB / 0.88 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.004167, allocations: 1.597 MB / 0.8816 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.004376, allocations: 11.94 kB / 0.8816 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.004479, allocations: 59.2 kB / 0.8816 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.004656, allocations: 65.06 kB / 0.8817 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006345/0.00529, allocations: 374 kB / 0.8821 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004853/0.005775, allocations: 0.6609 MB / 0.8827 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003134/0.006089, allocations: 242.2 kB / 0.8829 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002713/0.00636, allocations: 375.3 kB / 0.8833 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.00653, allocations: 203.3 kB / 0.8835 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.001e-05/0.0066, allocations: 76 kB / 0.8836 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.677e-05/0.006697, allocations: 88 kB / 0.8836 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.07e-05/0.006777, allocations: 152.2 kB / 0.8838 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.006916, allocations: 199.5 kB / 0.884 GB, free: 384 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004404/0.007357, allocations: 495.8 kB / 0.8845 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.00736, allocations: 0 / 0.8845 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.883e-06/0.007361, allocations: 4 kB / 0.8845 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.007367, allocations: 0 / 0.8845 GB, free: 15.88 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.0008672/0.008235, allocations: 0.8809 MB / 0.8853 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.008274, allocations: 8.031 kB / 0.8853 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.008404, allocations: 108.6 kB / 0.8854 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.008821, allocations: 384.3 kB / 0.8858 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.025e-05/0.008862, allocations: 45.69 kB / 0.8858 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.833e-05/0.00892, allocations: 68.36 kB / 0.8859 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005403/0.00946, allocations: 0.541 MB / 0.8864 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.009477, allocations: 192 / 0.8864 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.739e-05/0.009544, allocations: 24.38 kB / 0.8865 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.009558, allocations: 16.38 kB / 0.8865 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/0.009888, allocations: 239.6 kB / 0.8867 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.01116, allocations: 1.141 MB / 0.8878 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.0114, allocations: 187.1 kB / 0.888 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.309e-05/0.01149, allocations: 59.66 kB / 0.888 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.01152, allocations: 15.98 kB / 0.8881 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.01168, allocations: 139.8 kB / 0.8882 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.01168, allocations: 0 / 0.8882 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34): time 0.0004099/0.01209, allocations: 280.3 kB / 0.8885 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.01213, allocations: 55.41 kB / 0.8885 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.01235, allocations: 362.1 kB / 0.8889 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.01237, allocations: 33.7 kB / 0.8889 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.01265, allocations: 359.2 kB / 0.8892 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/0.01271, allocations: 123 kB / 0.8894 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.01282, allocations: 115.8 kB / 0.8895 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.01294, allocations: 0.5156 MB / 0.89 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.01309, allocations: 114.6 kB / 0.8901 GB, free: 9.867 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.01331, allocations: 316.3 kB / 0.8904 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.01363, allocations: 407.3 kB / 0.8908 GB, free: 8.969 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.01364, allocations: 4 kB / 0.8908 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005021/0.01414, allocations: 485.9 kB / 0.8912 GB, free: 8.473 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/0.01417, allocations: 37.7 kB / 0.8913 GB, free: 8.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.01418, allocations: 7.984 kB / 0.8913 GB, free: 8.422 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.0142, allocations: 8 kB / 0.8913 GB, free: 8.414 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.01442, allocations: 99.83 kB / 0.8914 GB, free: 8.316 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.01442, allocations: 8 kB / 0.8914 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.01458, allocations: 75.95 kB / 0.8915 GB, free: 8.234 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.01461, allocations: 27.98 kB / 0.8915 GB, free: 8.207 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.0001141/0.01472, allocations: 188.4 kB / 0.8917 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.01476, allocations: 43.81 kB / 0.8917 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/0.01511, allocations: 271.1 kB / 0.892 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01511, allocations: 7.938 kB / 0.892 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.01512, allocations: 0 / 0.892 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.01512, allocations: 3.984 kB / 0.892 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009573/0.01608, allocations: 0.7669 MB / 0.8927 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01608, allocations: 4.188 kB / 0.8927 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.01621, allocations: 59.91 kB / 0.8928 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.01621, allocations: 7.938 kB / 0.8928 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.01623, allocations: 12 kB / 0.8928 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.01623, allocations: 7.984 kB / 0.8928 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.01623, allocations: 0 / 0.8928 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.01654, allocations: 448.2 kB / 0.8932 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.01657, allocations: 39.64 kB / 0.8933 GB, free: 6.246 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.01659, allocations: 7.984 kB / 0.8933 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.01666, allocations: 12 kB / 0.8933 GB, free: 6.227 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.01671, allocations: 27.95 kB / 0.8933 GB, free: 6.199 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.01673, allocations: 16 kB / 0.8933 GB, free: 6.184 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001178/0.01684, allocations: 227 kB / 0.8936 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01684, allocations: 0 / 0.8936 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002694/0.01711, allocations: 111.6 kB / 0.8937 GB, free: 5.855 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.0001225/0.01724, allocations: 123 kB / 0.8938 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003695/0.01761, allocations: 350.9 kB / 0.8941 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.01761, allocations: 0 / 0.8941 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.01772, allocations: 103.4 kB / 0.8942 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.01802, allocations: 74.84 kB / 0.8943 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007383/0.01876, allocations: 0.7435 MB / 0.895 GB, free: 4.383 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.599e-05/0.01882, allocations: 113.8 kB / 0.8951 GB, free: 4.25 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.01894, allocations: 55.27 kB / 0.8952 GB, free: 4.195 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.957e-05/0.01901, allocations: 40.48 kB / 0.8952 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/0.01901, allocations: 0 / 0.8952 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of Templates: time 0.005761/0.02477, allocations: 3.676 MB / 0.8988 GB, free: 0.5703 MB / 0.8542 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","",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.660491341724992]