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.000965/0.000965, allocations: 80.94 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.001201/0.001201, allocations: 173 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.9981/0.9981, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.35/2.35, allocations: 438.8 MB / 0.6827 GB, free: 13.56 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 3.947e-06/3.947e-06, allocations: 3.984 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.772e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.HeadPressure.Subsequences.Validation.MappingWithWSE): time 0.005944/0.005972, allocations: 1.719 MB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.005333/0.0113, allocations: 1.633 MB / 0.8419 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000336/0.01164, allocations: 11.94 kB / 0.8419 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.01177, allocations: 59.2 kB / 0.842 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.01199, allocations: 67.16 kB / 0.8421 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00381/0.0158, allocations: 379.3 kB / 0.8424 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0007846/0.01658, allocations: 0.657 MB / 0.8431 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004013/0.01698, allocations: 258.2 kB / 0.8433 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004126/0.01739, allocations: 383.2 kB / 0.8437 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.01763, allocations: 191.3 kB / 0.8438 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 7.791e-05/0.01771, allocations: 72 kB / 0.8439 GB, free: 8.707 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.01783, allocations: 83.97 kB / 0.844 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.717e-05/0.01792, allocations: 143.6 kB / 0.8441 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.01807, allocations: 191.5 kB / 0.8443 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004704/0.01854, allocations: 466.1 kB / 0.8448 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.01855, allocations: 0 / 0.8448 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.021e-06/0.01855, allocations: 0 / 0.8448 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.01855, allocations: 0 / 0.8448 GB, free: 7.84 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.003938/0.02249, allocations: 0.7432 MB / 0.8455 GB, free: 7.059 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.02253, allocations: 12.62 kB / 0.8455 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.02265, allocations: 96.81 kB / 0.8456 GB, free: 6.953 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004131/0.02306, allocations: 308.2 kB / 0.8459 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.083e-05/0.0231, allocations: 41.69 kB / 0.8459 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-05/0.02317, allocations: 64.38 kB / 0.846 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.02366, allocations: 0.5057 MB / 0.8465 GB, free: 5.969 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.02368, allocations: 4.188 kB / 0.8465 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.57e-05/0.02371, allocations: 24.38 kB / 0.8465 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.02373, allocations: 12.38 kB / 0.8465 GB, free: 5.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.02396, allocations: 153.1 kB / 0.8467 GB, free: 5.781 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004526/0.02848, allocations: 1.076 MB / 0.8477 GB, free: 4.668 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.02866, allocations: 110.4 kB / 0.8478 GB, free: 4.551 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.912e-05/0.02871, allocations: 36.84 kB / 0.8479 GB, free: 4.512 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.02874, allocations: 11.98 kB / 0.8479 GB, free: 4.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.02887, allocations: 102.8 kB / 0.848 GB, free: 4.391 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=25): time 2.064e-06/0.02887, allocations: 3.938 kB / 0.848 GB, free: 4.387 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25): time 0.0002549/0.02913, allocations: 149.5 kB / 0.8481 GB, free: 4.234 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.02916, allocations: 59.34 kB / 0.8482 GB, free: 4.164 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.02941, allocations: 370.9 kB / 0.8485 GB, free: 3.789 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.02944, allocations: 29.7 kB / 0.8486 GB, free: 3.754 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.02961, allocations: 336.5 kB / 0.8489 GB, free: 3.418 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.798e-05/0.02966, allocations: 95.23 kB / 0.849 GB, free: 3.324 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.02979, allocations: 118.2 kB / 0.8491 GB, free: 3.203 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.02989, allocations: 346.7 kB / 0.8494 GB, free: 2.855 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.03, allocations: 94.97 kB / 0.8495 GB, free: 2.754 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.0302, allocations: 298.7 kB / 0.8498 GB, free: 2.363 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/0.03053, allocations: 397 kB / 0.8502 GB, free: 1.875 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.03053, allocations: 4 kB / 0.8502 GB, free: 1.871 MB / 0.8073 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003483/0.03402, allocations: 411.8 kB / 0.8506 GB, free: 1.449 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/0.03406, allocations: 41.69 kB / 0.8506 GB, free: 1.402 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.03407, allocations: 8.844 kB / 0.8506 GB, free: 1.395 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.03409, allocations: 15.94 kB / 0.8506 GB, free: 1.379 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.03435, allocations: 103.8 kB / 0.8507 GB, free: 1.277 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.03436, allocations: 15.88 kB / 0.8507 GB, free: 1.262 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.0346, allocations: 75.59 kB / 0.8508 GB, free: 1.188 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.03463, allocations: 20 kB / 0.8508 GB, free: 1.168 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.0001331/0.03476, allocations: 153.6 kB / 0.851 GB, free: 1.008 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.0348, allocations: 27.92 kB / 0.851 GB, free: 0.9805 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002565/0.03506, allocations: 179.9 kB / 0.8512 GB, free: 0.7969 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.03506, allocations: 4 kB / 0.8512 GB, free: 0.793 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.03506, allocations: 3.938 kB / 0.8512 GB, free: 0.7891 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.03507, allocations: 0 / 0.8512 GB, free: 0.7891 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004658/0.03553, allocations: 432 kB / 0.8516 GB, free: 348 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.03554, allocations: 0 / 0.8516 GB, free: 348 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.03565, allocations: 43.91 kB / 0.8516 GB, free: 304 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.03565, allocations: 0 / 0.8516 GB, free: 304 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.03566, allocations: 11.94 kB / 0.8516 GB, free: 292 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.03566, allocations: 0 / 0.8516 GB, free: 292 kB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.03567, allocations: 0 / 0.8516 GB, free: 292 kB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.03584, allocations: 228.9 kB / 0.8519 GB, free: 48 kB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.03588, allocations: 31.7 kB / 0.8519 GB, free: 16 kB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.0359, allocations: 11.94 kB / 0.8519 GB, free: 4 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.373e-05/0.036, allocations: 11.98 kB / 0.8519 GB, free: 15.99 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.03604, allocations: 19.97 kB / 0.8519 GB, free: 15.97 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.03604, allocations: 4 kB / 0.8519 GB, free: 15.97 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001065/0.03615, allocations: 124.7 kB / 0.8521 GB, free: 15.84 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.03615, allocations: 0 / 0.8521 GB, free: 15.84 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003391/0.03954, allocations: 115.6 kB / 0.8522 GB, free: 15.73 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.0001513/0.03969, allocations: 92.36 kB / 0.8523 GB, free: 15.63 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003388/0.04003, allocations: 316 kB / 0.8526 GB, free: 15.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.564e-05/0.04005, allocations: 8.5 kB / 0.8526 GB, free: 15.29 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.778e-05/0.04013, allocations: 66.44 kB / 0.8526 GB, free: 15.23 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.0404, allocations: 49.48 kB / 0.8527 GB, free: 15.18 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008175/0.04121, allocations: 0.6556 MB / 0.8533 GB, free: 14.49 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.055e-05/0.04128, allocations: 105.3 kB / 0.8534 GB, free: 14.37 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001554/0.04144, allocations: 63.33 kB / 0.8535 GB, free: 14.31 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.0416, allocations: 127.3 kB / 0.8536 GB, free: 14.18 MB / 0.823 GB Notification: Performance of SimCode: time 7.02e-07/0.0416, allocations: 0 / 0.8536 GB, free: 14.18 MB / 0.823 GB Notification: Performance of Templates: time 0.009715/0.05132, allocations: 3.621 MB / 0.8571 GB, free: 10.67 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 -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.481994668021798]