Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.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.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001485, allocations: 108.6 kB / 15.99 MB, free: 6.348 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.001462/0.001462, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.376/1.376, allocations: 222.9 MB / 240.6 MB, free: 13.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.56/2.56, allocations: 469.8 MB / 0.7427 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001812, allocations: 70.83 kB / 0.9087 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.297, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.003218/0.3002, allocations: 1.877 MB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.3019, allocations: 1.24 MB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.302, allocations: 8 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.3023, allocations: 51.52 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.3024, allocations: 35.72 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.3028, allocations: 151.8 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004691/0.3033, allocations: 493 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003755/0.3036, allocations: 250.3 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.3038, allocations: 175.2 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.304, allocations: 199 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.583e-05/0.3041, allocations: 56 kB / 1.069 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.636e-05/0.3042, allocations: 48 kB / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.184e-05/0.3043, allocations: 103.6 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.3044, allocations: 210.8 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.3049, allocations: 439.3 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3049, allocations: 0 / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3049, allocations: 0 / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.3049, allocations: 0 / 1.069 GB, free: 9.746 MB / 0.8419 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.001224/0.3061, allocations: 0.7252 MB / 1.07 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.3061, allocations: 8.031 kB / 1.07 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.442e-05/0.3062, allocations: 48.38 kB / 1.07 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004177/0.3067, allocations: 332.4 kB / 1.07 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.3067, allocations: 33.38 kB / 1.07 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.042e-05/0.3068, allocations: 48.27 kB / 1.07 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006621/0.3074, allocations: 391.5 kB / 1.071 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3075, allocations: 192 / 1.071 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.3075, allocations: 19.94 kB / 1.071 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.3075, allocations: 8 kB / 1.071 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005361/0.3081, allocations: 275.8 kB / 1.071 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.3102, allocations: 1.358 MB / 1.072 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007654/0.311, allocations: 242.8 kB / 1.073 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.3112, allocations: 134.3 kB / 1.073 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.3112, allocations: 8 kB / 1.073 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.3113, allocations: 34.56 kB / 1.073 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=21): time 1.242e-06/0.3113, allocations: 0 / 1.073 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21): time 0.0006639/0.312, allocations: 303.3 kB / 1.073 GB, free: 5.629 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/0.312, allocations: 106.8 kB / 1.073 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004534/0.3125, allocations: 405.6 kB / 1.074 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.3125, allocations: 29.7 kB / 1.074 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.3127, allocations: 231.9 kB / 1.074 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.372e-05/0.3128, allocations: 78.89 kB / 1.074 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.3129, allocations: 65.69 kB / 1.074 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3131, allocations: 342.8 kB / 1.074 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.3133, allocations: 128.7 kB / 1.074 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.3137, allocations: 201.1 kB / 1.075 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/0.3142, allocations: 267 kB / 1.075 GB, free: 3.699 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3142, allocations: 0 / 1.075 GB, free: 3.699 MB / 0.8419 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00072/0.315, allocations: 370.6 kB / 1.075 GB, free: 3.332 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.315, allocations: 10.44 kB / 1.075 GB, free: 3.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.026e-06/0.315, allocations: 4 kB / 1.075 GB, free: 3.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.315, allocations: 4.156 kB / 1.075 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.3153, allocations: 79.83 kB / 1.075 GB, free: 3.238 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.3154, allocations: 4 kB / 1.075 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.3156, allocations: 55.5 kB / 1.075 GB, free: 3.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.3156, allocations: 12 kB / 1.075 GB, free: 3.168 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002926/0.3159, allocations: 208.1 kB / 1.076 GB, free: 2.961 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002524/0.3162, allocations: 174.9 kB / 1.076 GB, free: 2.758 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003383/0.3165, allocations: 228.2 kB / 1.076 GB, free: 2.516 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.3165, allocations: 0 / 1.076 GB, free: 2.516 MB / 0.8419 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005402/0.3171, allocations: 316.9 kB / 1.076 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.3171, allocations: 8 kB / 1.076 GB, free: 2.191 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3171, allocations: 3.938 kB / 1.076 GB, free: 2.188 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.428e-06/0.3171, allocations: 4.156 kB / 1.076 GB, free: 2.184 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.3174, allocations: 67.91 kB / 1.076 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3174, allocations: 4 kB / 1.076 GB, free: 2.113 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.3176, allocations: 35.83 kB / 1.076 GB, free: 2.078 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.3176, allocations: 12 kB / 1.076 GB, free: 2.066 MB / 0.8419 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.000141/0.3178, allocations: 196.2 kB / 1.077 GB, free: 1.867 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.3178, allocations: 39.47 kB / 1.077 GB, free: 1.828 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004978/0.3184, allocations: 251.7 kB / 1.077 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.3184, allocations: 7.984 kB / 1.077 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3184, allocations: 0 / 1.077 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.3184, allocations: 3.984 kB / 1.077 GB, free: 1.566 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.3198, allocations: 0.8504 MB / 1.078 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3198, allocations: 256 / 1.078 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.32, allocations: 55.91 kB / 1.078 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.32, allocations: 4 kB / 1.078 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.32, allocations: 8 kB / 1.078 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.32, allocations: 0 / 1.078 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.32, allocations: 4 kB / 1.078 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000713/0.3208, allocations: 489.6 kB / 1.078 GB, free: 48 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.4662/0.787, allocations: 118.5 kB / 1.078 GB, free: 22 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.123e-05/0.7871, allocations: 8.453 kB / 1.078 GB, free: 22 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.7874, allocations: 15.33 kB / 1.078 GB, free: 22 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.7875, allocations: 22.84 kB / 1.078 GB, free: 22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.7875, allocations: 9.406 kB / 1.078 GB, free: 22 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003523/0.7879, allocations: 285.3 kB / 1.079 GB, free: 21.91 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7879, allocations: 1.438 kB / 1.079 GB, free: 21.91 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005923/0.7885, allocations: 124.2 kB / 1.079 GB, free: 21.91 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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 Backend phase and start with SimCode phase: time 0.0001718/0.7886, allocations: 114.2 kB / 1.079 GB, free: 21.82 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009584/0.7896, allocations: 406.2 kB / 1.079 GB, free: 21.82 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.7896, allocations: 3.25 kB / 1.079 GB, free: 21.82 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.7898, allocations: 96.73 kB / 1.079 GB, free: 21.82 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000619/0.7905, allocations: 72.61 kB / 1.08 GB, free: 21.82 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.7918, allocations: 0.8614 MB / 1.08 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.7921, allocations: 0.7931 MB / 1.081 GB, free: 20.59 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.7922, allocations: 31.25 kB / 1.081 GB, free: 20.59 MB / 0.8419 GB Notification: Performance of SimCode: time 4.8e-07/0.7922, allocations: 0 / 1.081 GB, free: 20.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.009372/0.8016, allocations: 4.262 MB / 1.085 GB, free: 20.28 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches