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.0009828/0.0009828, allocations: 73.88 kB / 20.65 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.0009335/0.0009335, allocations: 169 kB / 24.06 MB, free: 452 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.9165/0.9165, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.2/2.2, allocations: 429.5 MB / 0.6743 GB, free: 3.906 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 2.785e-06/2.785e-06, allocations: 0 / 0.8795 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.259e-05, allocations: 7.078 kB / 0.8795 GB, free: 5.93 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE): time 0.002352/0.002385, allocations: 1.721 MB / 0.8811 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.004115, allocations: 1.608 MB / 0.8827 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.004299, allocations: 11.94 kB / 0.8827 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.966e-05/0.004389, allocations: 59.2 kB / 0.8828 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.004532, allocations: 61.91 kB / 0.8828 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006253/0.005157, allocations: 367.3 kB / 0.8832 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005461/0.005703, allocations: 0.6732 MB / 0.8838 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002966/0.006, allocations: 242.2 kB / 0.8841 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002815/0.006281, allocations: 384.9 kB / 0.8844 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.006464, allocations: 191.4 kB / 0.8846 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.177e-05/0.006526, allocations: 68 kB / 0.8847 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.196e-05/0.006618, allocations: 84.42 kB / 0.8848 GB, free: 500 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.716e-05/0.006695, allocations: 140.9 kB / 0.8849 GB, free: 360 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.006812, allocations: 199.5 kB / 0.8851 GB, free: 160 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.007173, allocations: 462.1 kB / 0.8855 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.007175, allocations: 0 / 0.8855 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.21e-07/0.007176, allocations: 1.594 kB / 0.8855 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.00718, allocations: 3.938 kB / 0.8855 GB, free: 15.7 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.0008166/0.007997, allocations: 0.8757 MB / 0.8864 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.008033, allocations: 12.03 kB / 0.8864 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.008148, allocations: 108.6 kB / 0.8865 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.008519, allocations: 373.7 kB / 0.8869 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.008555, allocations: 41.69 kB / 0.8869 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.495e-05/0.00861, allocations: 72.36 kB / 0.887 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003996/0.009009, allocations: 0.494 MB / 0.8875 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.009022, allocations: 192 / 0.8875 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.00905, allocations: 24.31 kB / 0.8875 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.009061, allocations: 16.38 kB / 0.8875 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.009266, allocations: 189 kB / 0.8877 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.0105, allocations: 1.291 MB / 0.8889 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.01066, allocations: 131 kB / 0.8891 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.499e-05/0.0107, allocations: 43.66 kB / 0.8891 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.01072, allocations: 8 kB / 0.8891 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.01085, allocations: 118.2 kB / 0.8892 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=25): time 3.146e-06/0.01085, allocations: 7.984 kB / 0.8892 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25): time 0.0002742/0.01112, allocations: 201.3 kB / 0.8894 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.01116, allocations: 59.34 kB / 0.8895 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.0114, allocations: 422.1 kB / 0.8899 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.01142, allocations: 29.7 kB / 0.8899 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.0116, allocations: 406.8 kB / 0.8903 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.01165, allocations: 87.31 kB / 0.8904 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.01176, allocations: 127.8 kB / 0.8905 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.01189, allocations: 0.5234 MB / 0.891 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.583e-05/0.01199, allocations: 94.95 kB / 0.8911 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.01221, allocations: 394.4 kB / 0.8915 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.01252, allocations: 481.4 kB / 0.8919 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.01253, allocations: 4 kB / 0.8919 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0004397/0.01297, allocations: 496.5 kB / 0.8924 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.013, allocations: 40.31 kB / 0.8925 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.013, allocations: 12 kB / 0.8925 GB, free: 8.027 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.01302, allocations: 11.94 kB / 0.8925 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.01322, allocations: 107.8 kB / 0.8926 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.01323, allocations: 15.94 kB / 0.8926 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.01341, allocations: 83.48 kB / 0.8927 GB, free: 7.812 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.01343, allocations: 24 kB / 0.8927 GB, free: 7.789 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,noWSE.swi2.u2,noWSE.swi4.u2,noWSE.swi5.u2,noWSE.uWSE,disWSE.y,enaWSE.y,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 (66): * Single equations (assignments): 65 * 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.0001124/0.01354, allocations: 192.3 kB / 0.8929 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.01359, allocations: 55.75 kB / 0.8929 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.01382, allocations: 206.8 kB / 0.8931 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.01382, allocations: 4 kB / 0.8931 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.01382, allocations: 3.938 kB / 0.8931 GB, free: 7.324 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01383, allocations: 0 / 0.8931 GB, free: 7.324 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.01426, allocations: 0.553 MB / 0.8937 GB, free: 6.738 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.01426, allocations: 3.984 kB / 0.8937 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.265e-05/0.01434, allocations: 39.92 kB / 0.8937 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.01435, allocations: 0 / 0.8937 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.01436, allocations: 11.94 kB / 0.8937 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.01436, allocations: 0 / 0.8937 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01436, allocations: 0 / 0.8937 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.01455, allocations: 332.6 kB / 0.8941 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.151e-05/0.01458, allocations: 43.69 kB / 0.8941 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.0146, allocations: 7.938 kB / 0.8941 GB, free: 6.289 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.621e-05/0.01466, allocations: 4 kB / 0.8941 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.01469, allocations: 15.97 kB / 0.8941 GB, free: 6.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-06/0.0147, allocations: 11.98 kB / 0.8941 GB, free: 6.258 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001069/0.01481, allocations: 239 kB / 0.8944 GB, free: 6.027 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01481, allocations: 0 / 0.8944 GB, free: 6.027 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000268/0.01507, allocations: 115.6 kB / 0.8945 GB, free: 5.914 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (27): * Single equations (assignments): 26 * 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.0001196/0.01519, allocations: 115.2 kB / 0.8946 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002835/0.01548, allocations: 324 kB / 0.8949 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.01548, allocations: 0 / 0.8949 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.795e-05/0.01555, allocations: 72.05 kB / 0.895 GB, free: 5.383 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.01579, allocations: 64.77 kB / 0.895 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006233/0.01642, allocations: 0.6629 MB / 0.8957 GB, free: 4.621 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.715e-05/0.01647, allocations: 109.3 kB / 0.8958 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001148/0.01659, allocations: 55.34 kB / 0.8958 GB, free: 4.438 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.01672, allocations: 150.1 kB / 0.896 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of SimCode: time 5.61e-07/0.01672, allocations: 0 / 0.896 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of Templates: time 0.006047/0.02277, allocations: 3.741 MB / 0.8996 GB, free: 0.6445 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.437422061804682]