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.0008018/0.0008018, allocations: 96.38 kB / 19.7 MB, free: 448 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.0007784/0.0007784, allocations: 216.7 kB / 23 MB, free: 2.984 MB / 13.93 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.9624/0.9624, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.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.384/2.384, allocations: 0.5569 GB / 0.8628 GB, free: 29.33 MB / 0.6667 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 0.000958/0.000958, allocations: 64.39 kB / 1.255 GB, free: 22.35 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3432, allocations: 193.6 MB / 1.444 GB, free: 9.051 MB / 1.12 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE): time 0.002439/0.3457, allocations: 1.675 MB / 1.446 GB, free: 7.375 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.3472, allocations: 1.575 MB / 1.448 GB, free: 5.785 MB / 1.12 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.3474, allocations: 11.94 kB / 1.448 GB, free: 5.773 MB / 1.12 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.3475, allocations: 59.2 kB / 1.448 GB, free: 5.715 MB / 1.12 GB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.3477, allocations: 59.3 kB / 1.448 GB, free: 5.656 MB / 1.12 GB Notification: Performance of NFTyping.typeClassSections: time 0.000607/0.3483, allocations: 374.3 kB / 1.448 GB, free: 5.293 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 0.00046/0.3487, allocations: 0.6571 MB / 1.449 GB, free: 4.633 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003078/0.349, allocations: 250.2 kB / 1.449 GB, free: 4.375 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.3492, allocations: 251.1 kB / 1.449 GB, free: 4.129 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.3494, allocations: 242.7 kB / 1.449 GB, free: 3.891 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 5.847e-05/0.3494, allocations: 76 kB / 1.45 GB, free: 3.816 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 9.1e-05/0.3495, allocations: 87.98 kB / 1.45 GB, free: 3.73 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 8.032e-05/0.3496, allocations: 159.5 kB / 1.45 GB, free: 3.574 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.3497, allocations: 234.9 kB / 1.45 GB, free: 3.344 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.0005495/0.3503, allocations: 0.9493 MB / 1.451 GB, free: 2.391 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3503, allocations: 0 / 1.451 GB, free: 2.391 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3503, allocations: 0 / 1.451 GB, free: 2.391 MB / 1.12 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.3503, allocations: 0 / 1.451 GB, free: 2.391 MB / 1.12 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.0009023/0.3512, allocations: 0.7837 MB / 1.452 GB, free: 1.562 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3512, allocations: 8.031 kB / 1.452 GB, free: 1.555 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.372e-05/0.3513, allocations: 68.52 kB / 1.452 GB, free: 1.488 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/0.3518, allocations: 361.8 kB / 1.452 GB, free: 1.113 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.3518, allocations: 45.69 kB / 1.452 GB, free: 1.07 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/0.3518, allocations: 56.38 kB / 1.452 GB, free: 1.016 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007564/0.3526, allocations: 0.6575 MB / 1.453 GB, free: 320 kB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3526, allocations: 192 / 1.453 GB, free: 320 kB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.3526, allocations: 23.94 kB / 1.453 GB, free: 296 kB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.3527, allocations: 16 kB / 1.453 GB, free: 280 kB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000512/0.3532, allocations: 437 kB / 1.453 GB, free: 15.85 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.3544, allocations: 1.111 MB / 1.454 GB, free: 14.7 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.3547, allocations: 223.8 kB / 1.455 GB, free: 14.47 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.3549, allocations: 120.7 kB / 1.455 GB, free: 14.35 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.3549, allocations: 7.984 kB / 1.455 GB, free: 14.34 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.3551, allocations: 181.5 kB / 1.455 GB, free: 14.15 MB / 1.135 GB Notification: Performance of pre-optimization done (n=34): time 1.503e-06/0.3551, allocations: 0 / 1.455 GB, free: 14.15 MB / 1.135 GB Notification: Performance of matching and sorting (n=34): time 0.0005596/0.3557, allocations: 394.8 kB / 1.455 GB, free: 13.76 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.3557, allocations: 55.41 kB / 1.455 GB, free: 13.7 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.3559, allocations: 324.3 kB / 1.456 GB, free: 13.37 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.356, allocations: 37.7 kB / 1.456 GB, free: 13.33 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.3561, allocations: 320.4 kB / 1.456 GB, free: 13.01 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/0.3562, allocations: 123 kB / 1.456 GB, free: 12.89 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.3563, allocations: 110.1 kB / 1.456 GB, free: 12.78 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 8.977e-05/0.3564, allocations: 350.7 kB / 1.457 GB, free: 12.43 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.3566, allocations: 162.6 kB / 1.457 GB, free: 12.26 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.3568, allocations: 320.9 kB / 1.457 GB, free: 11.87 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/0.3573, allocations: 459.6 kB / 1.457 GB, free: 11.35 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3573, allocations: 3.938 kB / 1.457 GB, free: 11.35 MB / 1.135 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005959/0.3579, allocations: 0.5639 MB / 1.458 GB, free: 10.77 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.3579, allocations: 33.7 kB / 1.458 GB, free: 10.73 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3579, allocations: 4 kB / 1.458 GB, free: 10.72 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3579, allocations: 8 kB / 1.458 GB, free: 10.71 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.3581, allocations: 108.4 kB / 1.458 GB, free: 10.61 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.3581, allocations: 15.88 kB / 1.458 GB, free: 10.59 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.3583, allocations: 79.58 kB / 1.458 GB, free: 10.52 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.3584, allocations: 24 kB / 1.458 GB, free: 10.49 MB / 1.135 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.00014/0.3585, allocations: 182.6 kB / 1.458 GB, free: 10.3 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.3585, allocations: 35.77 kB / 1.458 GB, free: 10.27 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004429/0.359, allocations: 346.1 kB / 1.459 GB, free: 9.926 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.359, allocations: 3.984 kB / 1.459 GB, free: 9.922 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.359, allocations: 7.938 kB / 1.459 GB, free: 9.914 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.359, allocations: 4 kB / 1.459 GB, free: 9.91 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009255/0.3599, allocations: 0.8159 MB / 1.46 GB, free: 9.039 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.3599, allocations: 4 kB / 1.46 GB, free: 9.035 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.36, allocations: 63.91 kB / 1.46 GB, free: 8.973 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.36, allocations: 4 kB / 1.46 GB, free: 8.969 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.3601, allocations: 12.17 kB / 1.46 GB, free: 8.957 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3601, allocations: 4 kB / 1.46 GB, free: 8.953 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3601, allocations: 11.88 kB / 1.46 GB, free: 8.941 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.3604, allocations: 445.8 kB / 1.46 GB, free: 8.473 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.3605, allocations: 43.69 kB / 1.46 GB, free: 8.43 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.3605, allocations: 8 kB / 1.46 GB, free: 8.422 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.121e-05/0.3606, allocations: 8 kB / 1.46 GB, free: 8.414 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.3606, allocations: 31.89 kB / 1.46 GB, free: 8.383 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.3606, allocations: 19.98 kB / 1.46 GB, free: 8.363 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.0001271/0.3608, allocations: 207 kB / 1.46 GB, free: 8.16 MB / 1.135 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3608, allocations: 0 / 1.46 GB, free: 8.16 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.000273/0.361, allocations: 111.7 kB / 1.461 GB, free: 8.051 MB / 1.135 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.0001291/0.3612, allocations: 123 kB / 1.461 GB, free: 7.918 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.000486/0.3617, allocations: 429.6 kB / 1.461 GB, free: 7.48 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3617, allocations: 0 / 1.461 GB, free: 7.48 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.3618, allocations: 135.8 kB / 1.461 GB, free: 7.348 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.3621, allocations: 59.89 kB / 1.461 GB, free: 7.289 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000805/0.3629, allocations: 0.7838 MB / 1.462 GB, free: 6.453 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.3631, allocations: 238.2 kB / 1.462 GB, free: 6.199 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.718e-05/0.3632, allocations: 39.44 kB / 1.462 GB, free: 6.16 MB / 1.135 GB Notification: Performance of SimCode: time 6.52e-07/0.3632, allocations: 0 / 1.462 GB, free: 6.16 MB / 1.135 GB Notification: Performance of Templates: time 0.004947/0.3681, allocations: 5.309 MB / 1.467 GB, free: 0.8672 MB / 1.135 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 -emit_protected > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.8698705680144485]