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.000949/0.000949, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001262/0.001262, allocations: 181 kB / 23.36 MB, free: 1.133 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.9989/0.9989, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.403/2.403, allocations: 438.8 MB / 0.6827 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.883e-06/1.883e-06, allocations: 0 / 0.8387 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.063e-05, allocations: 6.25 kB / 0.8387 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE): time 0.002576/0.002597, allocations: 1.774 MB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002122/0.004719, allocations: 1.633 MB / 0.842 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002407/0.004959, allocations: 11.94 kB / 0.842 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.005062, allocations: 59.2 kB / 0.8421 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.005227, allocations: 67.22 kB / 0.8421 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006865/0.005913, allocations: 367.3 kB / 0.8425 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005765/0.00649, allocations: 0.6608 MB / 0.8431 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003201/0.00681, allocations: 254.2 kB / 0.8434 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003381/0.007148, allocations: 387.2 kB / 0.8438 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004503/0.007598, allocations: 191.3 kB / 0.8439 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 7.529e-05/0.007673, allocations: 72 kB / 0.844 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.007779, allocations: 83.92 kB / 0.8441 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.198e-05/0.007851, allocations: 143.5 kB / 0.8442 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.007964, allocations: 191.5 kB / 0.8444 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003632/0.008327, allocations: 470.1 kB / 0.8449 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.008329, allocations: 0 / 0.8449 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.82e-07/0.00833, allocations: 0 / 0.8449 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.008335, allocations: 0 / 0.8449 GB, free: 7.781 MB / 0.8073 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.000739/0.009074, allocations: 0.7393 MB / 0.8456 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.009104, allocations: 12.62 kB / 0.8456 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.094e-05/0.009195, allocations: 100.8 kB / 0.8457 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.009528, allocations: 308.2 kB / 0.846 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/0.009561, allocations: 45.69 kB / 0.846 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.089e-05/0.009612, allocations: 64.38 kB / 0.8461 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003944/0.01001, allocations: 0.5057 MB / 0.8466 GB, free: 5.906 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.01002, allocations: 192 / 0.8466 GB, free: 5.906 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.01004, allocations: 20.38 kB / 0.8466 GB, free: 5.887 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.01006, allocations: 16.38 kB / 0.8466 GB, free: 5.871 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.01023, allocations: 153 kB / 0.8468 GB, free: 5.723 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.01141, allocations: 1.069 MB / 0.8478 GB, free: 4.617 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.01155, allocations: 116.5 kB / 0.8479 GB, free: 4.496 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.472e-05/0.0116, allocations: 37.44 kB / 0.8479 GB, free: 4.457 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.01162, allocations: 8 kB / 0.848 GB, free: 4.449 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001191/0.01174, allocations: 111.3 kB / 0.8481 GB, free: 4.328 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=25): time 1.543e-06/0.01174, allocations: 0 / 0.8481 GB, free: 4.328 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25): time 0.0002147/0.01195, allocations: 151.9 kB / 0.8482 GB, free: 4.176 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.01198, allocations: 59.34 kB / 0.8483 GB, free: 4.105 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.01218, allocations: 362.9 kB / 0.8486 GB, free: 3.738 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.01221, allocations: 33.7 kB / 0.8486 GB, free: 3.699 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.01235, allocations: 336.5 kB / 0.849 GB, free: 3.363 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.0124, allocations: 91.25 kB / 0.849 GB, free: 3.273 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.0125, allocations: 122.2 kB / 0.8492 GB, free: 3.148 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.124e-05/0.0126, allocations: 350.7 kB / 0.8495 GB, free: 2.797 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.343e-05/0.01268, allocations: 90.98 kB / 0.8496 GB, free: 2.699 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.01285, allocations: 302.7 kB / 0.8499 GB, free: 2.305 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.01313, allocations: 397 kB / 0.8503 GB, free: 1.816 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.01314, allocations: 4 kB / 0.8503 GB, free: 1.812 MB / 0.8073 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0006324/0.01377, allocations: 416.6 kB / 0.8507 GB, free: 1.387 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/0.01381, allocations: 37.7 kB / 0.8507 GB, free: 1.344 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.01381, allocations: 8 kB / 0.8507 GB, free: 1.336 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.01383, allocations: 11.94 kB / 0.8507 GB, free: 1.324 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.01404, allocations: 111.8 kB / 0.8508 GB, free: 1.215 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.01405, allocations: 15.88 kB / 0.8508 GB, free: 1.199 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.01423, allocations: 79.59 kB / 0.8509 GB, free: 1.121 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.01425, allocations: 20 kB / 0.8509 GB, free: 1.102 MB / 0.8073 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.0001068/0.01436, allocations: 149.7 kB / 0.8511 GB, free: 0.9453 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.01439, allocations: 27.97 kB / 0.8511 GB, free: 0.918 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/0.0146, allocations: 175.8 kB / 0.8513 GB, free: 0.7383 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.0146, allocations: 4 kB / 0.8513 GB, free: 0.7344 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.0146, allocations: 3.938 kB / 0.8513 GB, free: 0.7305 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.01461, allocations: 3.984 kB / 0.8513 GB, free: 0.7266 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/0.015, allocations: 432 kB / 0.8517 GB, free: 284 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.015, allocations: 0 / 0.8517 GB, free: 284 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.091e-05/0.01509, allocations: 43.97 kB / 0.8517 GB, free: 240 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.01509, allocations: 0 / 0.8517 GB, free: 240 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.01511, allocations: 7.938 kB / 0.8517 GB, free: 232 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.01511, allocations: 4 kB / 0.8517 GB, free: 228 kB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01511, allocations: 4 kB / 0.8517 GB, free: 224 kB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.01526, allocations: 228.9 kB / 0.852 GB, free: 15.98 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.01529, allocations: 35.7 kB / 0.852 GB, free: 15.94 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.01531, allocations: 7.875 kB / 0.852 GB, free: 15.94 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.794e-05/0.01537, allocations: 11.98 kB / 0.852 GB, free: 15.93 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.0154, allocations: 11.97 kB / 0.852 GB, free: 15.91 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.01541, allocations: 8 kB / 0.852 GB, free: 15.91 MB / 0.823 GB Notification: Performance of sorting global known variables: time 8.775e-05/0.0155, allocations: 128.7 kB / 0.8522 GB, free: 15.78 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.0155, allocations: 0 / 0.8522 GB, free: 15.78 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000263/0.01576, allocations: 111.6 kB / 0.8523 GB, free: 15.67 MB / 0.823 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.0001109/0.01587, allocations: 96.36 kB / 0.8524 GB, free: 15.56 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000261/0.01613, allocations: 301.8 kB / 0.8526 GB, free: 15.25 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/0.01615, allocations: 4.5 kB / 0.8526 GB, free: 15.25 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.655e-05/0.01621, allocations: 84.72 kB / 0.8527 GB, free: 15.16 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.01643, allocations: 53.47 kB / 0.8528 GB, free: 15.11 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007318/0.01716, allocations: 0.6495 MB / 0.8534 GB, free: 14.43 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.661e-05/0.01723, allocations: 109.3 kB / 0.8535 GB, free: 14.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001268/0.01735, allocations: 59.33 kB / 0.8536 GB, free: 14.24 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.0175, allocations: 123.3 kB / 0.8537 GB, free: 14.12 MB / 0.823 GB Notification: Performance of SimCode: time 9.82e-07/0.0175, allocations: 0 / 0.8537 GB, free: 14.12 MB / 0.823 GB Notification: Performance of Templates: time 0.006456/0.02396, allocations: 3.625 MB / 0.8572 GB, free: 10.61 MB / 0.823 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 -s gbode -gbm=radauIIA3 -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.303746793884784]