Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.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.001544/0.001544, 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.001842/0.001842, allocations: 209.2 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.567/1.567, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.357/3.357, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") [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.002094/0.002094, allocations: 72.45 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3704, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.003113/0.3735, allocations: 1.626 MB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.3754, allocations: 1.283 MB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.3755, allocations: 4 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.3758, allocations: 71.2 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.376, allocations: 67.45 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.3764, allocations: 169 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004991/0.3769, allocations: 493 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003309/0.3772, allocations: 178.8 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.3774, allocations: 187.3 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.3776, allocations: 195 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.115e-05/0.3777, allocations: 48 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.169e-05/0.3777, allocations: 56 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.46e-05/0.3778, allocations: 111.6 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.378, allocations: 155.2 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005651/0.3785, allocations: 0.5756 MB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3785, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3785, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3785, allocations: 0 / 1.332 GB, free: 11.77 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001296/0.3798, allocations: 0.6932 MB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3799, allocations: 12.02 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.553e-05/0.38, allocations: 52.61 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004868/0.3805, allocations: 282.2 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.3805, allocations: 29.38 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-05/0.3806, allocations: 44.31 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007224/0.3813, allocations: 443 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3813, allocations: 192 / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.949e-05/0.3813, allocations: 19.94 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.3813, allocations: 12 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005523/0.3819, allocations: 263.9 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.3839, allocations: 1.13 MB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007822/0.3847, allocations: 242.7 kB / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.3849, allocations: 108.9 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.385, allocations: 8 kB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.385, allocations: 30.56 kB / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.385, allocations: 0 / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.0006999/0.3857, allocations: 310.5 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.3858, allocations: 106.8 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.3862, allocations: 340.3 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.3862, allocations: 29.7 kB / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.3864, allocations: 244.1 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.982e-05/0.3865, allocations: 83.36 kB / 1.337 GB, free: 7.137 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.3866, allocations: 69.64 kB / 1.337 GB, free: 7.062 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3867, allocations: 342.8 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/0.3871, allocations: 120.8 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/0.3875, allocations: 308.2 kB / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005298/0.388, allocations: 265.6 kB / 1.338 GB, free: 5.961 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.388, allocations: 4 kB / 1.338 GB, free: 5.957 MB / 1.029 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007731/0.3888, allocations: 368.4 kB / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.3888, allocations: 4 kB / 1.338 GB, free: 5.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.3888, allocations: 4 kB / 1.338 GB, free: 5.586 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.3888, allocations: 3.938 kB / 1.338 GB, free: 5.582 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003544/0.3892, allocations: 79.83 kB / 1.338 GB, free: 5.504 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.3892, allocations: 4 kB / 1.338 GB, free: 5.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.3895, allocations: 47.7 kB / 1.338 GB, free: 5.453 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.3895, allocations: 16 kB / 1.338 GB, free: 5.438 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003519/0.3899, allocations: 204.1 kB / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003764/0.3902, allocations: 276.2 kB / 1.339 GB, free: 4.906 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003811/0.3906, allocations: 220.8 kB / 1.339 GB, free: 4.672 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.04e-05/0.3906, allocations: 7.984 kB / 1.339 GB, free: 4.664 MB / 1.029 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0006398/0.3913, allocations: 321.2 kB / 1.339 GB, free: 4.344 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3913, allocations: 8 kB / 1.339 GB, free: 4.336 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/0.3913, allocations: 0 / 1.339 GB, free: 4.336 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.114e-06/0.3913, allocations: 4 kB / 1.339 GB, free: 4.332 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.3915, allocations: 63.95 kB / 1.339 GB, free: 4.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.3916, allocations: 7.984 kB / 1.339 GB, free: 4.262 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.3918, allocations: 35.81 kB / 1.339 GB, free: 4.227 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.3918, allocations: 15.98 kB / 1.339 GB, free: 4.211 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001995/0.392, allocations: 206.5 kB / 1.339 GB, free: 4.004 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.602e-05/0.3921, allocations: 31.81 kB / 1.339 GB, free: 3.973 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005935/0.3927, allocations: 246.2 kB / 1.34 GB, free: 3.727 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3927, allocations: 0 / 1.34 GB, free: 3.727 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3927, allocations: 7.938 kB / 1.34 GB, free: 3.719 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.633e-05/0.3927, allocations: 31.8 kB / 1.34 GB, free: 3.688 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.226e-05/0.3928, allocations: 12 kB / 1.34 GB, free: 3.676 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.393, allocations: 15.98 kB / 1.34 GB, free: 3.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.393, allocations: 11.97 kB / 1.34 GB, free: 3.648 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006788/0.3937, allocations: 320.7 kB / 1.34 GB, free: 3.328 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008009/0.3945, allocations: 0.5086 MB / 1.341 GB, free: 2.805 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001911/0.3947, allocations: 85.67 kB / 1.341 GB, free: 2.723 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002637/0.3949, allocations: 235.1 kB / 1.341 GB, free: 2.492 MB / 1.029 GB Notification: Performance of Backend: time 5.01e-07/0.3949, allocations: 0 / 1.341 GB, free: 2.492 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.396, allocations: 385.8 kB / 1.341 GB, free: 2.113 MB / 1.029 GB Notification: Performance of SimCode: time 0.001355/0.3974, allocations: 1.038 MB / 1.342 GB, free: 1.027 MB / 1.029 GB Notification: Performance of Templates: time 0.01042/0.4078, allocations: 5.385 MB / 1.347 GB, free: 11.7 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.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.579030135006178]