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.00139/0.00139, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001453/0.001453, allocations: 169 kB / 23.27 MB, free: 1.227 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.9029/0.9029, allocations: 177.2 MB / 203.7 MB, free: 5.535 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.295/2.295, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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 3.927e-06/3.927e-06, allocations: 0 / 0.8898 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.091e-05/3.484e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithoutWSE): time 0.003492/0.003527, allocations: 1.378 MB / 0.8912 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002562/0.006089, allocations: 1.454 MB / 0.8926 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003136/0.006403, allocations: 11.94 kB / 0.8926 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002447/0.006647, allocations: 43.41 kB / 0.8926 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.006807, allocations: 51.41 kB / 0.8927 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008611/0.007668, allocations: 275.4 kB / 0.8929 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005276/0.008196, allocations: 464.1 kB / 0.8934 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.008473, allocations: 125.7 kB / 0.8935 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003296/0.008802, allocations: 251.4 kB / 0.8937 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.00899, allocations: 119.6 kB / 0.8939 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.358e-05/0.009053, allocations: 40 kB / 0.8939 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.009166, allocations: 52 kB / 0.8939 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.263e-05/0.009238, allocations: 83.67 kB / 0.894 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.009358, allocations: 119.7 kB / 0.8941 GB, free: 5.23 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.009765, allocations: 294.8 kB / 0.8944 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.00977, allocations: 4 kB / 0.8944 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.003e-06/0.009772, allocations: 0 / 0.8944 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.009779, allocations: 0 / 0.8944 GB, free: 4.938 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0009306/0.01071, allocations: 0.6847 MB / 0.8951 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.01076, allocations: 12.62 kB / 0.8951 GB, free: 4.195 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.01088, allocations: 72.66 kB / 0.8952 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.01127, allocations: 283.9 kB / 0.8954 GB, free: 3.82 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.947e-05/0.01131, allocations: 29.03 kB / 0.8955 GB, free: 3.793 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/0.01136, allocations: 44.36 kB / 0.8955 GB, free: 3.75 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.01177, allocations: 314.1 kB / 0.8958 GB, free: 3.41 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.01178, allocations: 192 / 0.8958 GB, free: 3.41 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/0.01181, allocations: 16.38 kB / 0.8958 GB, free: 3.395 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.01182, allocations: 8.375 kB / 0.8958 GB, free: 3.387 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.01204, allocations: 104.4 kB / 0.8959 GB, free: 3.285 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.01319, allocations: 0.6992 MB / 0.8966 GB, free: 2.555 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.01336, allocations: 113.1 kB / 0.8967 GB, free: 2.434 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.964e-05/0.01342, allocations: 31.67 kB / 0.8968 GB, free: 2.398 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.01344, allocations: 4 kB / 0.8968 GB, free: 2.395 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.01361, allocations: 104.9 kB / 0.8969 GB, free: 2.277 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 2.474e-06/0.01362, allocations: 0 / 0.8969 GB, free: 2.277 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0003513/0.01397, allocations: 170.9 kB / 0.897 GB, free: 2.105 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.014, allocations: 59.41 kB / 0.8971 GB, free: 2.035 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.01425, allocations: 312 kB / 0.8974 GB, free: 1.711 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.01428, allocations: 25.7 kB / 0.8974 GB, free: 1.68 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.01446, allocations: 282.8 kB / 0.8977 GB, free: 1.398 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.759e-05/0.01453, allocations: 59.48 kB / 0.8977 GB, free: 1.34 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.01466, allocations: 91.58 kB / 0.8978 GB, free: 1.238 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001919/0.01485, allocations: 0.5117 MB / 0.8983 GB, free: 0.7148 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.01496, allocations: 77.98 kB / 0.8984 GB, free: 0.6328 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.01516, allocations: 236.9 kB / 0.8986 GB, free: 332 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/0.01548, allocations: 299.4 kB / 0.8989 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.01548, allocations: 0 / 0.8989 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004769/0.01596, allocations: 344.5 kB / 0.8992 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.784e-05/0.01601, allocations: 45.69 kB / 0.8993 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.01601, allocations: 4 kB / 0.8993 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.01603, allocations: 7.938 kB / 0.8993 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.01625, allocations: 59.91 kB / 0.8993 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.01626, allocations: 11.94 kB / 0.8994 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.01646, allocations: 60.09 kB / 0.8994 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.01649, allocations: 15.98 kB / 0.8994 GB, free: 15.39 MB / 0.8698 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.0001345/0.01662, allocations: 176.5 kB / 0.8996 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.01666, allocations: 27.86 kB / 0.8996 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002923/0.01696, allocations: 169.7 kB / 0.8998 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.01696, allocations: 7.984 kB / 0.8998 GB, free: 15 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.01696, allocations: 0 / 0.8998 GB, free: 15 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.01697, allocations: 11.86 kB / 0.8998 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006178/0.01759, allocations: 0.5123 MB / 0.9003 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.01759, allocations: 0 / 0.9003 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.01771, allocations: 39.92 kB / 0.9003 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.01771, allocations: 3.938 kB / 0.9003 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.01773, allocations: 8.125 kB / 0.9003 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.01773, allocations: 7.938 kB / 0.9004 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.01773, allocations: 0 / 0.9004 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.01804, allocations: 340.1 kB / 0.9007 GB, free: 14 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.01808, allocations: 39.75 kB / 0.9007 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.0181, allocations: 3.938 kB / 0.9007 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.413e-05/0.01819, allocations: 8 kB / 0.9007 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.01824, allocations: 23.91 kB / 0.9008 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.01825, allocations: 4 kB / 0.9008 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001445/0.0184, allocations: 193.1 kB / 0.9009 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.0184, allocations: 4 kB / 0.9009 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003932/0.01879, allocations: 75.78 kB / 0.901 GB, free: 13.66 MB / 0.8698 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.0001708/0.01896, allocations: 113.3 kB / 0.9011 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003576/0.01932, allocations: 247.1 kB / 0.9014 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.01932, allocations: 4 kB / 0.9014 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.528e-05/0.01941, allocations: 71.55 kB / 0.9014 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.01975, allocations: 44.47 kB / 0.9015 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007496/0.0205, allocations: 497.3 kB / 0.9019 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.077e-05/0.02057, allocations: 88.56 kB / 0.902 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001342/0.02071, allocations: 42.97 kB / 0.9021 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/0.02096, allocations: 130.2 kB / 0.9022 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of SimCode: time 1.042e-06/0.02096, allocations: 0 / 0.9022 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of Templates: time 0.007518/0.02848, allocations: 2.977 MB / 0.9051 GB, free: 9.484 MB / 0.8698 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.273672560695559]