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.007413/0.007413, allocations: 98.86 kB / 15.73 MB, free: 6.027 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.001341/0.001341, allocations: 193.2 kB / 16.67 MB, free: 5.957 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.632/2.632, allocations: 469.8 MB / 0.7425 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.89 kB / 1.065 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8772/0.8792, allocations: 159.1 MB / 1.221 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.003388/0.8826, allocations: 1.841 MB / 1.222 GB, free: 288 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.8846, allocations: 1.256 MB / 1.224 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00022/0.8848, allocations: 11.94 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.885, allocations: 71.25 kB / 1.224 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.8852, allocations: 63.45 kB / 1.224 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.8856, allocations: 167.7 kB / 1.224 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005056/0.8861, allocations: 497 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003506/0.8865, allocations: 178.4 kB / 1.225 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.8867, allocations: 179.3 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.8869, allocations: 195 kB / 1.225 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.46e-05/0.8869, allocations: 52 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 4.964e-05/0.887, allocations: 48 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.8871, allocations: 115.6 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.8872, allocations: 202.9 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000554/0.8878, allocations: 0.5684 MB / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.8878, allocations: 0 / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8878, allocations: 0 / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.8878, allocations: 0 / 1.226 GB, free: 12.7 MB / 0.9512 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.001236/0.8891, allocations: 0.7325 MB / 1.227 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.8891, allocations: 8.031 kB / 1.227 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.8892, allocations: 48.66 kB / 1.227 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/0.8897, allocations: 340.5 kB / 1.227 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.8897, allocations: 29.38 kB / 1.227 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.233e-05/0.8898, allocations: 40.38 kB / 1.227 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006532/0.8904, allocations: 391.5 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.8905, allocations: 192 / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/0.8905, allocations: 19.94 kB / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.8905, allocations: 8 kB / 1.228 GB, free: 11 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005364/0.891, allocations: 283.8 kB / 1.228 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002046/0.8931, allocations: 1.355 MB / 1.229 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007874/0.8939, allocations: 244.7 kB / 1.229 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.8941, allocations: 116.9 kB / 1.229 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.8941, allocations: 7.938 kB / 1.229 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.8942, allocations: 34.56 kB / 1.229 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/0.8942, allocations: 4 kB / 1.229 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of matching and sorting (n=21): time 0.0006815/0.8948, allocations: 303.1 kB / 1.23 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/0.8949, allocations: 110.8 kB / 1.23 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004517/0.8954, allocations: 393.7 kB / 1.23 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.8954, allocations: 29.7 kB / 1.23 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.8956, allocations: 252.3 kB / 1.231 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.542e-05/0.8956, allocations: 75.34 kB / 1.231 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.8958, allocations: 69.64 kB / 1.231 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.8959, allocations: 346.8 kB / 1.231 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.8962, allocations: 120.7 kB / 1.231 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.8965, allocations: 198.7 kB / 1.231 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004936/0.897, allocations: 272.1 kB / 1.232 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.897, allocations: 0 / 1.232 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007102/0.8977, allocations: 375.7 kB / 1.232 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.8978, allocations: 15.92 kB / 1.232 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.8978, allocations: 0 / 1.232 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.8978, allocations: 4 kB / 1.232 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.8981, allocations: 63.91 kB / 1.232 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.8981, allocations: 7.984 kB / 1.232 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.8983, allocations: 59.81 kB / 1.232 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.8984, allocations: 12 kB / 1.232 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002841/0.8987, allocations: 208.1 kB / 1.232 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002501/0.8989, allocations: 178 kB / 1.232 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003621/0.8993, allocations: 224.2 kB / 1.233 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.744e-06/0.8993, allocations: 4 kB / 1.233 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005381/0.8998, allocations: 319.1 kB / 1.233 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/0.8998, allocations: 4 kB / 1.233 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.8998, allocations: 7.938 kB / 1.233 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.06e-06/0.8998, allocations: 7.938 kB / 1.233 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.9001, allocations: 63.91 kB / 1.233 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.9001, allocations: 0 / 1.233 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.9003, allocations: 43.97 kB / 1.233 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.9003, allocations: 16 kB / 1.233 GB, free: 4.992 MB / 0.9512 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.0001424/0.9005, allocations: 196.7 kB / 1.233 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.327e-05/0.9005, allocations: 39.7 kB / 1.233 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005013/0.901, allocations: 254.7 kB / 1.234 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.901, allocations: 4 kB / 1.234 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.901, allocations: 4 kB / 1.234 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.901, allocations: 0 / 1.234 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.9024, allocations: 0.8449 MB / 1.234 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.9024, allocations: 4 kB / 1.234 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.9026, allocations: 43.91 kB / 1.234 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.9026, allocations: 4 kB / 1.234 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.9026, allocations: 8.25 kB / 1.234 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.9026, allocations: 8 kB / 1.234 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.9026, allocations: 0 / 1.234 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007263/0.9033, allocations: 493.8 kB / 1.235 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.9035, allocations: 120.9 kB / 1.235 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.9035, allocations: 8 kB / 1.235 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.9037, allocations: 23.98 kB / 1.235 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.9037, allocations: 23.86 kB / 1.235 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.9037, allocations: 11.98 kB / 1.235 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002991/0.904, allocations: 279.2 kB / 1.235 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.904, allocations: 0 / 1.235 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000483/0.9045, allocations: 135.6 kB / 1.236 GB, free: 2.375 MB / 0.9512 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.0001947/0.9047, allocations: 123.1 kB / 1.236 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007866/0.9055, allocations: 364.8 kB / 1.236 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.9055, allocations: 0.625 kB / 1.236 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.9057, allocations: 99.83 kB / 1.236 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/0.9062, allocations: 74.86 kB / 1.236 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.9076, allocations: 0.6923 MB / 1.237 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.908, allocations: 0.7995 MB / 1.238 GB, free: 152 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001569/0.9081, allocations: 47.12 kB / 1.238 GB, free: 104 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.415e-05/0.9082, allocations: 35.38 kB / 1.238 GB, free: 68 kB / 0.9512 GB Notification: Performance of SimCode: time 3.1e-07/0.9082, allocations: 3.938 kB / 1.238 GB, free: 64 kB / 0.9512 GB Notification: Performance of Templates: time 0.00784/0.916, allocations: 3.685 MB / 1.241 GB, free: 12.41 MB / 0.9669 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=480 -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/jenkins/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