Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.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.001595/0.001595, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00178/0.00178, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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 3.258/3.258, allocations: 0.5107 GB / 0.8166 GB, free: 17.93 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") [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.002121/0.002121, allocations: 69.81 kB / 1.187 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3272, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003382/0.3305, allocations: 1.82 MB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002562/0.3331, allocations: 1.622 MB / 1.368 GB, free: 10.1 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/0.3333, allocations: 11.94 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.3336, allocations: 91.05 kB / 1.368 GB, free: 10 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.3338, allocations: 79.2 kB / 1.368 GB, free: 9.922 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007734/0.3345, allocations: 328.8 kB / 1.369 GB, free: 9.605 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007354/0.3353, allocations: 0.6842 MB / 1.369 GB, free: 8.918 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003951/0.3357, allocations: 217.8 kB / 1.369 GB, free: 8.699 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.336, allocations: 263.1 kB / 1.37 GB, free: 8.441 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.3363, allocations: 242.6 kB / 1.37 GB, free: 8.203 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.3364, allocations: 84 kB / 1.37 GB, free: 8.121 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.3365, allocations: 91.92 kB / 1.37 GB, free: 8.031 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.3366, allocations: 147.5 kB / 1.37 GB, free: 7.887 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.3369, allocations: 238.8 kB / 1.37 GB, free: 7.652 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008664/0.3377, allocations: 0.8364 MB / 1.371 GB, free: 6.812 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3378, allocations: 0 / 1.371 GB, free: 6.812 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3378, allocations: 0 / 1.371 GB, free: 6.812 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.3378, allocations: 0 / 1.371 GB, free: 6.812 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001769/0.3395, allocations: 1.041 MB / 1.372 GB, free: 5.723 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.3396, allocations: 8.031 kB / 1.372 GB, free: 5.715 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.3397, allocations: 72.52 kB / 1.372 GB, free: 5.645 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006263/0.3403, allocations: 355 kB / 1.373 GB, free: 5.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.513e-05/0.3404, allocations: 41.38 kB / 1.373 GB, free: 5.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.677e-05/0.3405, allocations: 60.38 kB / 1.373 GB, free: 5.172 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000888/0.3413, allocations: 0.5341 MB / 1.373 GB, free: 4.617 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.3414, allocations: 7.922 kB / 1.373 GB, free: 4.609 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.3414, allocations: 20 kB / 1.373 GB, free: 4.59 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.3414, allocations: 12 kB / 1.373 GB, free: 4.578 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007017/0.3421, allocations: 351.8 kB / 1.374 GB, free: 4.23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002295/0.3444, allocations: 1.271 MB / 1.375 GB, free: 2.918 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007831/0.3452, allocations: 397 kB / 1.375 GB, free: 2.523 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003737/0.3456, allocations: 218.8 kB / 1.375 GB, free: 2.309 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.683e-05/0.3456, allocations: 7.953 kB / 1.375 GB, free: 2.301 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004642/0.3461, allocations: 240.9 kB / 1.376 GB, free: 2.055 MB / 1.061 GB Notification: Performance of pre-optimization done (n=47): time 2.254e-06/0.3461, allocations: 0 / 1.376 GB, free: 2.055 MB / 1.061 GB Notification: Performance of matching and sorting (n=47): time 0.001103/0.3472, allocations: 0.526 MB / 1.376 GB, free: 1.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.198e-05/0.3473, allocations: 111.2 kB / 1.376 GB, free: 1.387 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003973/0.3477, allocations: 353.6 kB / 1.377 GB, free: 1.035 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.868e-05/0.3477, allocations: 41.69 kB / 1.377 GB, free: 0.9883 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.3479, allocations: 257.2 kB / 1.377 GB, free: 0.7305 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.3481, allocations: 170.5 kB / 1.377 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.3482, allocations: 102.2 kB / 1.377 GB, free: 468 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3484, allocations: 350.8 kB / 1.378 GB, free: 108 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/0.3489, allocations: 212.5 kB / 1.378 GB, free: 15.89 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005654/0.3494, allocations: 424.1 kB / 1.378 GB, free: 15.41 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007667/0.3502, allocations: 435.4 kB / 1.379 GB, free: 14.95 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.3502, allocations: 4 kB / 1.379 GB, free: 14.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00119/0.3514, allocations: 0.5966 MB / 1.379 GB, free: 14.33 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.325e-05/0.3514, allocations: 33.64 kB / 1.379 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.3514, allocations: 8.219 kB / 1.379 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.3515, allocations: 8.031 kB / 1.379 GB, free: 14.28 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004224/0.3519, allocations: 99.81 kB / 1.379 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.3519, allocations: 4 kB / 1.379 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003941/0.3523, allocations: 79.67 kB / 1.379 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.3523, allocations: 20 kB / 1.379 GB, free: 14.08 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004885/0.3528, allocations: 315.9 kB / 1.38 GB, free: 13.76 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004725/0.3533, allocations: 392.2 kB / 1.38 GB, free: 13.31 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005882/0.3539, allocations: 391.4 kB / 1.38 GB, free: 12.9 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-06/0.3539, allocations: 0 / 1.38 GB, free: 12.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0009552/0.3548, allocations: 0.5498 MB / 1.381 GB, free: 12.33 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.3549, allocations: 41.69 kB / 1.381 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3549, allocations: 4 kB / 1.381 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/0.3549, allocations: 7.938 kB / 1.381 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.3552, allocations: 83.91 kB / 1.381 GB, free: 12.19 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.3552, allocations: 7.938 kB / 1.381 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003652/0.3556, allocations: 75.94 kB / 1.381 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.3556, allocations: 16 kB / 1.381 GB, free: 12.09 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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.0002009/0.3558, allocations: 214.4 kB / 1.381 GB, free: 11.88 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.3559, allocations: 51.64 kB / 1.381 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008287/0.3567, allocations: 429.1 kB / 1.382 GB, free: 11.4 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.3567, allocations: 8 kB / 1.382 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3567, allocations: 0 / 1.382 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.3567, allocations: 3.984 kB / 1.382 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.3584, allocations: 0.9757 MB / 1.383 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3584, allocations: 0 / 1.383 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003648/0.3587, allocations: 87.83 kB / 1.383 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.3587, allocations: 4 kB / 1.383 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.3588, allocations: 12 kB / 1.383 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.3588, allocations: 4 kB / 1.383 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3588, allocations: 0 / 1.383 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.36, allocations: 0.7339 MB / 1.384 GB, free: 9.48 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.348e-05/0.36, allocations: 51.7 kB / 1.384 GB, free: 9.43 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.924e-05/0.3601, allocations: 8.125 kB / 1.384 GB, free: 9.422 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.3603, allocations: 27.98 kB / 1.384 GB, free: 9.395 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.3604, allocations: 35.88 kB / 1.384 GB, free: 9.359 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.3604, allocations: 16 kB / 1.384 GB, free: 9.344 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002719/0.3607, allocations: 243.2 kB / 1.384 GB, free: 9.109 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3607, allocations: 0 / 1.384 GB, free: 9.109 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006441/0.3613, allocations: 207.3 kB / 1.384 GB, free: 8.906 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * 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.0001847/0.3615, allocations: 123.1 kB / 1.384 GB, free: 8.773 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001446/0.363, allocations: 0.7838 MB / 1.385 GB, free: 7.957 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.363, allocations: 0 / 1.385 GB, free: 7.957 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000361/0.3633, allocations: 191.5 kB / 1.385 GB, free: 7.77 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006245/0.3639, allocations: 97.8 kB / 1.385 GB, free: 7.672 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.3656, allocations: 0.9655 MB / 1.386 GB, free: 6.656 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.3659, allocations: 251 kB / 1.387 GB, free: 6.379 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.366, allocations: 43.44 kB / 1.387 GB, free: 6.34 MB / 1.076 GB Notification: Performance of SimCode: time 4.51e-07/0.3661, allocations: 0 / 1.387 GB, free: 6.34 MB / 1.076 GB Notification: Performance of Templates: time 0.01119/0.3772, allocations: 5.989 MB / 1.392 GB, free: 380 kB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDScale.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.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: 11.823743098881096]