Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.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.001987/0.001987, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 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.002973/0.002973, allocations: 214.1 kB / 23 MB, free: 4.969 MB / 14.72 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 1.639/1.639, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.323/3.323, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onOne.y|onTwo.y|chiBypCon.bypValCon.u_s|chiBypCon.bypValCon.u_m|chiBypCon.y",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass") translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onOne.y|onTwo.y|chiBypCon.bypValCon.u_s|chiBypCon.bypValCon.u_m|chiBypCon.y",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 71.48 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3786, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass): time 0.005716/0.3843, allocations: 2.812 MB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003528/0.3879, allocations: 1.612 MB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005247/0.3884, allocations: 15.88 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.3896, allocations: 330.7 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0008159/0.3904, allocations: 294.7 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009659/0.3913, allocations: 357.8 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008612/0.3922, allocations: 0.6712 MB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000389/0.3926, allocations: 178.7 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004293/0.393, allocations: 274.9 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003498/0.3934, allocations: 274.7 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.165e-05/0.3934, allocations: 56 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000283/0.3937, allocations: 139.9 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.3939, allocations: 151.5 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002208/0.3941, allocations: 198.8 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.3952, allocations: 0.7976 MB / 1.335 GB, free: 8.855 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3952, allocations: 4 kB / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3952, allocations: 0 / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.545e-05/0.3952, allocations: 0 / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001819/0.397, allocations: 0.9095 MB / 1.336 GB, free: 7.891 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.3971, allocations: 12.03 kB / 1.336 GB, free: 7.879 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/0.3973, allocations: 68.52 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007202/0.3981, allocations: 385 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.734e-05/0.3981, allocations: 29.03 kB / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.488e-05/0.3982, allocations: 44.08 kB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008115/0.399, allocations: 406.7 kB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.399, allocations: 4 kB / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/0.399, allocations: 12 kB / 1.337 GB, free: 6.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.399, allocations: 11.94 kB / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006248/0.3997, allocations: 286.5 kB / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.4016, allocations: 1.081 MB / 1.338 GB, free: 5.488 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.4026, allocations: 400.4 kB / 1.339 GB, free: 5.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003601/0.403, allocations: 162.6 kB / 1.339 GB, free: 4.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.403, allocations: 8 kB / 1.339 GB, free: 4.922 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004677/0.4035, allocations: 221.8 kB / 1.339 GB, free: 4.691 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 2.906e-06/0.4035, allocations: 0 / 1.339 GB, free: 4.691 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.001124/0.4046, allocations: 0.4908 MB / 1.339 GB, free: 4.195 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.4047, allocations: 85.11 kB / 1.339 GB, free: 4.094 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007027/0.4054, allocations: 0.5213 MB / 1.34 GB, free: 3.566 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.4054, allocations: 29.7 kB / 1.34 GB, free: 3.531 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.4057, allocations: 264.5 kB / 1.34 GB, free: 3.266 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.771e-05/0.4058, allocations: 103.2 kB / 1.34 GB, free: 3.164 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.4059, allocations: 73.95 kB / 1.34 GB, free: 3.082 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.4061, allocations: 358.8 kB / 1.341 GB, free: 2.723 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.4064, allocations: 130.1 kB / 1.341 GB, free: 2.594 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/0.4068, allocations: 306.8 kB / 1.341 GB, free: 2.246 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005854/0.4074, allocations: 275.3 kB / 1.341 GB, free: 1.965 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4074, allocations: 0 / 1.341 GB, free: 1.965 MB / 1.029 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000821/0.4082, allocations: 400.7 kB / 1.342 GB, free: 1.566 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.4083, allocations: 7.984 kB / 1.342 GB, free: 1.559 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4083, allocations: 0 / 1.342 GB, free: 1.559 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.4083, allocations: 4 kB / 1.342 GB, free: 1.555 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.4086, allocations: 63.91 kB / 1.342 GB, free: 1.492 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.4086, allocations: 0 / 1.342 GB, free: 1.492 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.4089, allocations: 51.75 kB / 1.342 GB, free: 1.441 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.4089, allocations: 12.05 kB / 1.342 GB, free: 1.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004369/0.4093, allocations: 268.7 kB / 1.342 GB, free: 1.164 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003567/0.4097, allocations: 290.5 kB / 1.342 GB, free: 0.832 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004938/0.4102, allocations: 267.4 kB / 1.343 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.4102, allocations: 0 / 1.343 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006843/0.4109, allocations: 376.8 kB / 1.343 GB, free: 188 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.4109, allocations: 4 kB / 1.343 GB, free: 184 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.4109, allocations: 8 kB / 1.343 GB, free: 176 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.198e-06/0.4109, allocations: 0 / 1.343 GB, free: 176 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.4112, allocations: 67.89 kB / 1.343 GB, free: 108 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.4112, allocations: 4 kB / 1.343 GB, free: 104 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.4114, allocations: 39.77 kB / 1.343 GB, free: 64 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.4114, allocations: 20.02 kB / 1.343 GB, free: 44 kB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.onOne.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.onTwo.combiTimeTable.nextTimeEvent,$whenCondition1,chiBypCon.chiOn[1],chiBypCon.chiOn[2],chiBypCon.booToInt[1].y,chiBypCon.booToInt[2].y,chiBypCon.intGreThr.y,chiBypCon.numChiOn.y,onOne.combiTimeTable.nextTimeEvent,onOne.combiTimeTable.nextTimeEventScaled,$PRE.onOne.combiTimeTable.nextTimeEventScaled,onTwo.combiTimeTable.nextTimeEvent,onTwo.combiTimeTable.nextTimeEventScaled,$PRE.onTwo.combiTimeTable.nextTimeEventScaled,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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.0002156/0.4116, allocations: 210.8 kB / 1.343 GB, free: 15.83 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.403e-05/0.4117, allocations: 47.67 kB / 1.343 GB, free: 15.78 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000897/0.4126, allocations: 406.1 kB / 1.344 GB, free: 15.38 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.4126, allocations: 3.984 kB / 1.344 GB, free: 15.38 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4126, allocations: 4 kB / 1.344 GB, free: 15.37 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.113e-05/0.4127, allocations: 47.59 kB / 1.344 GB, free: 15.32 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.45e-05/0.4128, allocations: 15.98 kB / 1.344 GB, free: 15.31 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.413, allocations: 19.98 kB / 1.344 GB, free: 15.29 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.521e-05/0.4131, allocations: 27.95 kB / 1.344 GB, free: 15.26 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009102/0.414, allocations: 468.9 kB / 1.344 GB, free: 14.8 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001216/0.4152, allocations: 0.7408 MB / 1.345 GB, free: 14.04 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003125/0.4155, allocations: 164.2 kB / 1.345 GB, free: 13.88 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005032/0.416, allocations: 371.1 kB / 1.346 GB, free: 13.52 MB / 1.045 GB Notification: Performance of Backend: time 2.7e-07/0.416, allocations: 0 / 1.346 GB, free: 13.52 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002975/0.419, allocations: 0.7789 MB / 1.346 GB, free: 12.93 MB / 1.045 GB Notification: Performance of SimCode: time 0.001961/0.4209, allocations: 1.298 MB / 1.348 GB, free: 11.58 MB / 1.045 GB Notification: Performance of Templates: time 0.01619/0.4371, allocations: 8.509 MB / 1.356 GB, free: 3.188 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.sim & ./Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Cooling_Controls_Validation_ChilledWaterBypass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.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: 9.689043343001686]