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.00124/0.00124, allocations: 92.22 kB / 19.65 MB, free: 280 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.001598/0.001598, allocations: 169 kB / 23.02 MB, free: 1.551 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.9919/0.9919, allocations: 177.1 MB / 203.4 MB, free: 5.266 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.099/2.099, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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 3.146e-06/3.146e-06, allocations: 0.9844 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.943e-05/3.257e-05, allocations: 3.281 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE): time 0.002727/0.002759, allocations: 1.833 MB / 0.88 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00204/0.0048, allocations: 1.597 MB / 0.8816 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003541/0.005154, allocations: 11.94 kB / 0.8816 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.005265, allocations: 63.14 kB / 0.8816 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.005533, allocations: 61.66 kB / 0.8817 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007886/0.006322, allocations: 371.2 kB / 0.8821 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000739/0.007061, allocations: 0.6725 MB / 0.8827 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000403/0.007464, allocations: 243.6 kB / 0.8829 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004159/0.00788, allocations: 391.2 kB / 0.8833 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.008097, allocations: 188.6 kB / 0.8835 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.63e-05/0.008173, allocations: 75.94 kB / 0.8836 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.008291, allocations: 76 kB / 0.8836 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.8e-05/0.008389, allocations: 149.1 kB / 0.8838 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.008543, allocations: 187.5 kB / 0.884 GB, free: 408 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004952/0.009038, allocations: 470.1 kB / 0.8844 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.009044, allocations: 4 kB / 0.8844 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.355e-06/0.009046, allocations: 2.406 kB / 0.8844 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.009056, allocations: 0 / 0.8844 GB, free: 15.93 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.001012/0.01007, allocations: 0.8623 MB / 0.8853 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.01011, allocations: 8.031 kB / 0.8853 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.01027, allocations: 112.5 kB / 0.8854 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.01071, allocations: 385.7 kB / 0.8857 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/0.01076, allocations: 41.69 kB / 0.8858 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-05/0.01081, allocations: 64.38 kB / 0.8858 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000616/0.01143, allocations: 0.537 MB / 0.8864 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.01144, allocations: 192 / 0.8864 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.01147, allocations: 20.38 kB / 0.8864 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.01149, allocations: 16.38 kB / 0.8864 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003393/0.01183, allocations: 239.6 kB / 0.8866 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.0134, allocations: 1.287 MB / 0.8879 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.01365, allocations: 142.6 kB / 0.888 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.141e-05/0.01372, allocations: 51.66 kB / 0.8881 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.01375, allocations: 12 kB / 0.8881 GB, free: 12 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.01396, allocations: 120.8 kB / 0.8882 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=25): time 2.785e-06/0.01397, allocations: 4 kB / 0.8882 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25): time 0.0004396/0.01441, allocations: 217.3 kB / 0.8884 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.01445, allocations: 59.34 kB / 0.8885 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.01478, allocations: 422.4 kB / 0.8889 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.01482, allocations: 29.7 kB / 0.8889 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.01503, allocations: 403.1 kB / 0.8893 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/0.01508, allocations: 91.31 kB / 0.8894 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.0152, allocations: 123.9 kB / 0.8895 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004256/0.01563, allocations: 0.5196 MB / 0.89 GB, free: 9.957 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.01579, allocations: 118.9 kB / 0.8901 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/0.01609, allocations: 406.5 kB / 0.8905 GB, free: 9.301 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005183/0.0166, allocations: 496.8 kB / 0.891 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.01661, allocations: 8 kB / 0.891 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0006792/0.01729, allocations: 0.5277 MB / 0.8915 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.736e-05/0.01735, allocations: 37.7 kB / 0.8915 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.01736, allocations: 4 kB / 0.8915 GB, free: 8.078 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.01739, allocations: 12 kB / 0.8916 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.01766, allocations: 111.7 kB / 0.8917 GB, free: 7.957 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.01767, allocations: 11.98 kB / 0.8917 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.0179, allocations: 79.5 kB / 0.8917 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.01793, allocations: 31.98 kB / 0.8918 GB, free: 7.836 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.0001621/0.0181, allocations: 200.5 kB / 0.892 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.01814, allocations: 47.7 kB / 0.892 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003636/0.0185, allocations: 223.2 kB / 0.8922 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.01851, allocations: 4 kB / 0.8922 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.01852, allocations: 3.938 kB / 0.8922 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.01852, allocations: 3.984 kB / 0.8922 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009246/0.01945, allocations: 0.6228 MB / 0.8928 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.01945, allocations: 0 / 0.8928 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.01957, allocations: 47.91 kB / 0.8929 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.01958, allocations: 7.938 kB / 0.8929 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.01959, allocations: 0 / 0.8929 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.01959, allocations: 8 kB / 0.8929 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.0196, allocations: 0 / 0.8929 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.0199, allocations: 340.6 kB / 0.8932 GB, free: 6.273 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.01996, allocations: 43.62 kB / 0.8933 GB, free: 6.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.01999, allocations: 4 kB / 0.8933 GB, free: 6.227 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.02006, allocations: 8 kB / 0.8933 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.02013, allocations: 19.91 kB / 0.8933 GB, free: 6.199 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.02014, allocations: 11.98 kB / 0.8933 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001722/0.02031, allocations: 247.1 kB / 0.8935 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/0.02031, allocations: 0 / 0.8935 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003783/0.02069, allocations: 123.6 kB / 0.8937 GB, free: 5.824 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.0001866/0.02088, allocations: 107.2 kB / 0.8938 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004797/0.02136, allocations: 352.1 kB / 0.8941 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.02136, allocations: 192 / 0.8941 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.253e-05/0.02145, allocations: 72.06 kB / 0.8942 GB, free: 5.273 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.02178, allocations: 61.45 kB / 0.8942 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000957/0.02273, allocations: 0.6657 MB / 0.8949 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.396e-05/0.02281, allocations: 109.3 kB / 0.895 GB, free: 4.383 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001413/0.02295, allocations: 63.28 kB / 0.895 GB, free: 4.32 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.624e-05/0.02301, allocations: 40.48 kB / 0.8951 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of SimCode: time 2.424e-06/0.02302, allocations: 4 kB / 0.8951 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of Templates: time 0.007867/0.03088, allocations: 3.532 MB / 0.8985 GB, free: 0.8359 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.626522216014564]