Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 192.8 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.829/2.829, allocations: 469.8 MB / 0.742 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 68.06 kB / 0.9081 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3378, allocations: 159.2 MB / 1.063 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003589/0.3415, allocations: 2.109 MB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002509/0.344, allocations: 1.583 MB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002503/0.3443, allocations: 11.94 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.3445, allocations: 63.38 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.3448, allocations: 55.64 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008386/0.3456, allocations: 282.9 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007049/0.3463, allocations: 0.6882 MB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005013/0.3468, allocations: 317.3 kB / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002936/0.3471, allocations: 270.9 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.3475, allocations: 278.5 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.518e-05/0.3476, allocations: 79.94 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.3477, allocations: 91.98 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.3479, allocations: 139.6 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002791/0.3482, allocations: 302.4 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007938/0.349, allocations: 0.7946 MB / 1.07 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.349, allocations: 0 / 1.07 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.349, allocations: 0 / 1.07 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.349, allocations: 0 / 1.07 GB, free: 7.543 MB / 0.8262 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.00162/0.3506, allocations: 0.9032 MB / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.3507, allocations: 12.03 kB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.3508, allocations: 68.17 kB / 1.071 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005919/0.3514, allocations: 408.5 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.3515, allocations: 45.38 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.3516, allocations: 56.38 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009145/0.3525, allocations: 499.5 kB / 1.072 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.3525, allocations: 4.125 kB / 1.072 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.714e-05/0.3526, allocations: 27.92 kB / 1.072 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.3526, allocations: 16 kB / 1.072 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006858/0.3533, allocations: 347.8 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002476/0.3558, allocations: 1.562 MB / 1.074 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.3568, allocations: 0.87 MB / 1.075 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003755/0.3572, allocations: 232.5 kB / 1.075 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.3573, allocations: 4 kB / 1.075 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004665/0.3577, allocations: 249.6 kB / 1.075 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=47): time 2.235e-06/0.3577, allocations: 3.938 kB / 1.075 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of matching and sorting (n=47): time 0.001074/0.3588, allocations: 0.5181 MB / 1.076 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.799e-05/0.3589, allocations: 107.2 kB / 1.076 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000468/0.3594, allocations: 389.6 kB / 1.076 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.217e-05/0.3595, allocations: 41.7 kB / 1.077 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.3597, allocations: 249 kB / 1.077 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.3598, allocations: 161.7 kB / 1.077 GB, free: 492 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.36, allocations: 98.23 kB / 1.077 GB, free: 388 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.3602, allocations: 354.8 kB / 1.077 GB, free: 24 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004348/0.3606, allocations: 183.1 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004948/0.3611, allocations: 288.2 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007563/0.3619, allocations: 431.4 kB / 1.078 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3619, allocations: 11.86 kB / 1.078 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001099/0.363, allocations: 0.5596 MB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.3631, allocations: 41.84 kB / 1.079 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3631, allocations: 8 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.3631, allocations: 4 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003992/0.3635, allocations: 99.77 kB / 1.079 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3636, allocations: 4 kB / 1.079 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/0.3639, allocations: 87.38 kB / 1.079 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-05/0.364, allocations: 23.98 kB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004494/0.3645, allocations: 285.2 kB / 1.079 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003975/0.3649, allocations: 256.2 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000582/0.3655, allocations: 387.5 kB / 1.08 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.3655, allocations: 0 / 1.08 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0009057/0.3664, allocations: 0.5283 MB / 1.08 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/0.3664, allocations: 35.27 kB / 1.08 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3664, allocations: 3.938 kB / 1.08 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.3664, allocations: 7.984 kB / 1.08 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.3668, allocations: 87.84 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.3668, allocations: 4 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003629/0.3672, allocations: 75.84 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.3672, allocations: 24 kB / 1.081 GB, free: 12.45 MB / 0.8419 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.0001801/0.3674, allocations: 201.6 kB / 1.081 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.601e-05/0.3675, allocations: 55.3 kB / 1.081 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007978/0.3683, allocations: 433.4 kB / 1.081 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.3683, allocations: 4 kB / 1.081 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3683, allocations: 4.094 kB / 1.081 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-06/0.3683, allocations: 7.969 kB / 1.081 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.37, allocations: 1.128 MB / 1.082 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.3701, allocations: 4 kB / 1.082 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.3704, allocations: 84.08 kB / 1.082 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.3704, allocations: 8 kB / 1.082 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.3705, allocations: 12 kB / 1.083 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.852e-06/0.3705, allocations: 4 kB / 1.083 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.3705, allocations: 11.88 kB / 1.083 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.3717, allocations: 0.7246 MB / 1.083 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.3718, allocations: 124.6 kB / 1.083 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.456e-05/0.3719, allocations: 12 kB / 1.083 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.3721, allocations: 27.97 kB / 1.083 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.154e-05/0.3722, allocations: 35.84 kB / 1.083 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.3722, allocations: 15.98 kB / 1.083 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003123/0.3725, allocations: 275.2 kB / 1.084 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3725, allocations: 0 / 1.084 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006203/0.3732, allocations: 199.2 kB / 1.084 GB, free: 8.973 MB / 0.8419 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.0002293/0.3734, allocations: 123.1 kB / 1.084 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.375, allocations: 0.8036 MB / 1.085 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.375, allocations: 192 / 1.085 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003502/0.3754, allocations: 199.9 kB / 1.085 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006053/0.376, allocations: 91.69 kB / 1.085 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.3777, allocations: 1.14 MB / 1.086 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/0.3782, allocations: 0.8512 MB / 1.087 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000237/0.3785, allocations: 55.31 kB / 1.087 GB, free: 5.609 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.3786, allocations: 39.44 kB / 1.087 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of SimCode: time 4.91e-07/0.3786, allocations: 4 kB / 1.087 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of Templates: time 0.01263/0.3912, allocations: 5.951 MB / 1.093 GB, free: 15.67 MB / 0.8575 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDScale.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches