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.0009858/0.0009858, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009573/0.0009573, allocations: 173 kB / 23.5 MB, free: 1.055 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.9465/0.9465, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.036/2.036, allocations: 429.5 MB / 0.6736 GB, free: 4 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.563e-06/1.563e-06, allocations: 0 / 0.8782 GB, free: 6.562 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.209e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE): time 0.004898/0.00492, allocations: 1.798 MB / 0.88 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00195/0.00687, allocations: 1.599 MB / 0.8816 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.007107, allocations: 11.94 kB / 0.8816 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.007218, allocations: 59.2 kB / 0.8816 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.007396, allocations: 63.28 kB / 0.8817 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007218/0.008118, allocations: 369.1 kB / 0.882 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006632/0.008781, allocations: 0.6686 MB / 0.8827 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004076/0.009189, allocations: 250.2 kB / 0.8829 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003051/0.009494, allocations: 367.3 kB / 0.8833 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.009672, allocations: 196.4 kB / 0.8835 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.598e-05/0.009738, allocations: 80 kB / 0.8835 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.428e-05/0.009832, allocations: 87.97 kB / 0.8836 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.629e-05/0.009908, allocations: 148.6 kB / 0.8838 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.01004, allocations: 207.5 kB / 0.884 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.01041, allocations: 486.1 kB / 0.8844 GB, free: 220 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.01041, allocations: 5.047 kB / 0.8844 GB, free: 216 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.132e-06/0.01041, allocations: 0 / 0.8844 GB, free: 216 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.01042, allocations: 0 / 0.8844 GB, free: 216 kB / 0.8386 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.0008513/0.01127, allocations: 0.8795 MB / 0.8853 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.0113, allocations: 12.03 kB / 0.8853 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.01143, allocations: 112.6 kB / 0.8854 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.01182, allocations: 382.3 kB / 0.8858 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.01185, allocations: 45.69 kB / 0.8858 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-05/0.0119, allocations: 60.38 kB / 0.8859 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005266/0.01243, allocations: 0.5378 MB / 0.8864 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.01244, allocations: 192 / 0.8864 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.01247, allocations: 30.03 kB / 0.8864 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.01248, allocations: 16.36 kB / 0.8864 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003693/0.01285, allocations: 243.6 kB / 0.8867 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.01411, allocations: 1.14 MB / 0.8878 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.01436, allocations: 183.2 kB / 0.888 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.01446, allocations: 67.64 kB / 0.888 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.01448, allocations: 12 kB / 0.888 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.01466, allocations: 143.7 kB / 0.8882 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=34): time 1.472e-06/0.01466, allocations: 0 / 0.8882 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34): time 0.0004272/0.01509, allocations: 276.3 kB / 0.8884 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.01512, allocations: 55.41 kB / 0.8885 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.01534, allocations: 358.1 kB / 0.8888 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.01537, allocations: 37.7 kB / 0.8889 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.01553, allocations: 363.2 kB / 0.8892 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.354e-05/0.01559, allocations: 119 kB / 0.8893 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.0157, allocations: 115.8 kB / 0.8894 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.01583, allocations: 0.5196 MB / 0.89 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.01598, allocations: 106.6 kB / 0.8901 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.0162, allocations: 328.3 kB / 0.8904 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/0.01656, allocations: 403.2 kB / 0.8908 GB, free: 9.293 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.01656, allocations: 0 / 0.8908 GB, free: 9.293 MB / 0.8542 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005116/0.01707, allocations: 493.6 kB / 0.8912 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.0171, allocations: 34.33 kB / 0.8913 GB, free: 8.754 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.01711, allocations: 8 kB / 0.8913 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.01712, allocations: 8 kB / 0.8913 GB, free: 8.738 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.01735, allocations: 99.83 kB / 0.8914 GB, free: 8.641 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.01736, allocations: 11.98 kB / 0.8914 GB, free: 8.629 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.01756, allocations: 67.55 kB / 0.8914 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.0176, allocations: 31.98 kB / 0.8915 GB, free: 8.531 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.0001237/0.01772, allocations: 188.3 kB / 0.8917 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.01776, allocations: 43.81 kB / 0.8917 GB, free: 8.293 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003631/0.01812, allocations: 267.1 kB / 0.8919 GB, free: 8.027 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.01813, allocations: 4 kB / 0.892 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.01813, allocations: 0 / 0.892 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01813, allocations: 4 kB / 0.892 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007243/0.01886, allocations: 0.7744 MB / 0.8927 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01886, allocations: 0 / 0.8927 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.01899, allocations: 63.91 kB / 0.8928 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.019, allocations: 3.938 kB / 0.8928 GB, free: 7.113 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.01901, allocations: 12 kB / 0.8928 GB, free: 7.102 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01901, allocations: 0 / 0.8928 GB, free: 7.102 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.01901, allocations: 8.188 kB / 0.8928 GB, free: 7.094 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.01934, allocations: 448.4 kB / 0.8932 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/0.01937, allocations: 43.64 kB / 0.8933 GB, free: 6.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.01939, allocations: 11.98 kB / 0.8933 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.623e-05/0.01948, allocations: 11.98 kB / 0.8933 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.01953, allocations: 27.95 kB / 0.8933 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.01954, allocations: 8 kB / 0.8933 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001282/0.01967, allocations: 227 kB / 0.8935 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01967, allocations: 0 / 0.8935 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002792/0.01995, allocations: 115.6 kB / 0.8937 GB, free: 6.18 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.0001249/0.02007, allocations: 123.1 kB / 0.8938 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003936/0.02047, allocations: 347.6 kB / 0.8941 GB, free: 5.691 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.02047, allocations: 0 / 0.8941 GB, free: 5.691 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.02059, allocations: 104.6 kB / 0.8942 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.02089, allocations: 86.08 kB / 0.8943 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007886/0.02168, allocations: 0.7318 MB / 0.895 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.9e-05/0.02175, allocations: 117.8 kB / 0.8951 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001268/0.02188, allocations: 55.25 kB / 0.8952 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.544e-05/0.02194, allocations: 40.5 kB / 0.8952 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of SimCode: time 3.51e-07/0.02194, allocations: 0 / 0.8952 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of Templates: time 0.006009/0.02795, allocations: 3.686 MB / 0.8988 GB, free: 0.8867 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.462244266876951]