Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode.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.001342/0.001342, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001487/0.001487, allocations: 207.1 kB / 23 MB, free: 4.934 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.195/3.195, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mode.y.1.|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y",fileNamePrefix="Buildings_12_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode") translateModel(Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mode.y.1.|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y",fileNamePrefix="Buildings_12_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode") [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.002223/0.002223, allocations: 64.53 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3856, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode): time 0.004263/0.3899, allocations: 2.292 MB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00317/0.393, allocations: 1.879 MB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003712/0.3934, allocations: 11.94 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006219/0.394, allocations: 218.5 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003328/0.3944, allocations: 151 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008968/0.3953, allocations: 394.1 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001218/0.3965, allocations: 1.087 MB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006275/0.3971, allocations: 368 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004624/0.3976, allocations: 422.6 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005116/0.3981, allocations: 481.8 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.3982, allocations: 120 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002495/0.3985, allocations: 144 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003546/0.3988, allocations: 347 kB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003436/0.3992, allocations: 366.1 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.4006, allocations: 1.393 MB / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4006, allocations: 0 / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4006, allocations: 4 kB / 1.336 GB, free: 7.359 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.4006, allocations: 0 / 1.336 GB, free: 7.359 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002557/0.4032, allocations: 1.482 MB / 1.338 GB, free: 5.812 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.4032, allocations: 8.031 kB / 1.338 GB, free: 5.805 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.4034, allocations: 108.3 kB / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.4045, allocations: 0.5429 MB / 1.339 GB, free: 5.129 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.509e-05/0.4045, allocations: 58.38 kB / 1.339 GB, free: 5.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/0.4047, allocations: 76.38 kB / 1.339 GB, free: 4.996 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.4062, allocations: 0.8995 MB / 1.34 GB, free: 4.059 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.4062, allocations: 3.938 kB / 1.34 GB, free: 4.055 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.311e-05/0.4063, allocations: 31.98 kB / 1.34 GB, free: 4.023 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.4063, allocations: 20 kB / 1.34 GB, free: 4.004 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.4074, allocations: 0.6202 MB / 1.34 GB, free: 3.367 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003768/0.4112, allocations: 2.056 MB / 1.342 GB, free: 1.262 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.4127, allocations: 0.7743 MB / 1.343 GB, free: 476 kB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006874/0.4134, allocations: 425.6 kB / 1.343 GB, free: 40 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.383e-05/0.4134, allocations: 12.59 kB / 1.343 GB, free: 28 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008762/0.4143, allocations: 0.5152 MB / 1.344 GB, free: 15.48 MB / 1.045 GB Notification: Performance of pre-optimization done (n=73): time 3.125e-06/0.4143, allocations: 0 / 1.344 GB, free: 15.48 MB / 1.045 GB Notification: Performance of matching and sorting (n=73): time 0.001986/0.4163, allocations: 1.16 MB / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.871e-05/0.4164, allocations: 162.9 kB / 1.345 GB, free: 14.09 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007709/0.4172, allocations: 0.5808 MB / 1.346 GB, free: 13.5 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.029e-05/0.4173, allocations: 45.7 kB / 1.346 GB, free: 13.45 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.4176, allocations: 365.1 kB / 1.346 GB, free: 13.09 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.4178, allocations: 234 kB / 1.346 GB, free: 12.86 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002505/0.4181, allocations: 158.6 kB / 1.347 GB, free: 12.7 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.4183, allocations: 382.7 kB / 1.347 GB, free: 12.31 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00055/0.4188, allocations: 320.1 kB / 1.347 GB, free: 11.98 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009929/0.4198, allocations: 0.9101 MB / 1.348 GB, free: 10.89 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.4209, allocations: 0.709 MB / 1.349 GB, free: 10.12 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.4209, allocations: 0 / 1.349 GB, free: 10.12 MB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001493/0.4224, allocations: 0.8473 MB / 1.35 GB, free: 9.246 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.816e-05/0.4225, allocations: 67.42 kB / 1.35 GB, free: 9.168 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.4225, allocations: 4 kB / 1.35 GB, free: 9.164 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.4225, allocations: 7.938 kB / 1.35 GB, free: 9.156 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/0.423, allocations: 123.8 kB / 1.35 GB, free: 9.035 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.423, allocations: 8 kB / 1.35 GB, free: 9.027 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006641/0.4237, allocations: 97.44 kB / 1.35 GB, free: 8.934 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.48e-05/0.4238, allocations: 47.95 kB / 1.35 GB, free: 8.887 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007729/0.4245, allocations: 489.4 kB / 1.35 GB, free: 8.391 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009865/0.4255, allocations: 0.8789 MB / 1.351 GB, free: 7.336 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009414/0.4265, allocations: 0.6584 MB / 1.352 GB, free: 6.617 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.04e-06/0.4265, allocations: 4 kB / 1.352 GB, free: 6.613 MB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001288/0.4277, allocations: 0.8118 MB / 1.353 GB, free: 5.77 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.537e-05/0.4278, allocations: 57.28 kB / 1.353 GB, free: 5.703 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4278, allocations: 4.344 kB / 1.353 GB, free: 5.699 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.4278, allocations: 8 kB / 1.353 GB, free: 5.691 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.4283, allocations: 111.8 kB / 1.353 GB, free: 5.582 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.4283, allocations: 11.98 kB / 1.353 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000831/0.4291, allocations: 99.83 kB / 1.353 GB, free: 5.473 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.969e-05/0.4292, allocations: 43.95 kB / 1.353 GB, free: 5.43 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 29 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mode.idx,$PRE.mode.idx,mode.y[1],$PRE.mode.y[1],limPIPar.addPar.y,limPIPar.isDis.y,limPIPar.cha.down,limPIPar.cha.up,limPIPar.cha.y,limPIPar.cha.u,$PRE.limPIPar.cha.u,limPIDPar.addPar.y,limPIDPar.isDis.y,limPIDPar.cha.down,limPIDPar.cha.up,limPIDPar.cha.y,limPIDPar.cha.u,$PRE.limPIDPar.cha.u,$whenCondition9,$whenCondition10,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 2 * 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.0002998/0.4295, allocations: 289.4 kB / 1.353 GB, free: 5.129 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.4296, allocations: 67.58 kB / 1.353 GB, free: 5.062 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.4311, allocations: 0.8972 MB / 1.354 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.4311, allocations: 3.984 kB / 1.354 GB, free: 4.129 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.4311, allocations: 0 / 1.354 GB, free: 4.129 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.4313, allocations: 83.31 kB / 1.354 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.367e-05/0.4314, allocations: 27.94 kB / 1.354 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/0.4317, allocations: 31.97 kB / 1.354 GB, free: 3.988 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.4318, allocations: 52.56 kB / 1.354 GB, free: 3.938 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001794/0.4336, allocations: 1.088 MB / 1.355 GB, free: 2.789 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002125/0.4357, allocations: 1.515 MB / 1.357 GB, free: 1.223 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005969/0.4363, allocations: 384.5 kB / 1.357 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005316/0.4369, allocations: 414.8 kB / 1.358 GB, free: 444 kB / 1.045 GB Notification: Performance of Backend: time 8.32e-07/0.4369, allocations: 0 / 1.358 GB, free: 444 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002049/0.4389, allocations: 1.1 MB / 1.359 GB, free: 15.25 MB / 1.061 GB Notification: Performance of SimCode: time 0.00254/0.4415, allocations: 1.828 MB / 1.361 GB, free: 13.35 MB / 1.061 GB Notification: Performance of Templates: time 0.0227/0.4641, allocations: 12.98 MB / 1.373 GB, free: 0.5312 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode.pipe ; mkfifo Buildings_12_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode.pipe >> ../files/Buildings_12_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode.sim & ./Buildings_12_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HydronicConfigurations_Controls_Validation_PIDWithOperatingMode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode.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.421308760000102]