Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.008389/0.008389, allocations: 102.5 kB / 15.73 MB, free: 6 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.001504/0.001504, allocations: 194 kB / 16.67 MB, free: 5.926 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.655/2.655, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 59.91 kB / 1.054 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.044, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.003564/1.048, allocations: 1.841 MB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001869/1.05, allocations: 1.263 MB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002209/1.05, allocations: 8 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002442/1.05, allocations: 75.19 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001517/1.051, allocations: 51.47 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/1.051, allocations: 175.7 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005454/1.052, allocations: 489 kB / 1.212 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000489/1.052, allocations: 266.3 kB / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/1.052, allocations: 171.3 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/1.053, allocations: 199 kB / 1.212 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.931e-05/1.053, allocations: 48 kB / 1.212 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.701e-05/1.053, allocations: 52 kB / 1.212 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.989e-05/1.053, allocations: 103.7 kB / 1.212 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001742/1.053, allocations: 206.8 kB / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005337/1.054, allocations: 0.5564 MB / 1.213 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/1.054, allocations: 8 kB / 1.213 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.795e-06/1.054, allocations: 3.984 kB / 1.213 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.586e-06/1.054, allocations: 0 / 1.213 GB, free: 8.133 MB / 0.9356 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.001314/1.055, allocations: 0.7153 MB / 1.214 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/1.055, allocations: 12.03 kB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.867e-05/1.055, allocations: 48.38 kB / 1.214 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004666/1.056, allocations: 344.2 kB / 1.214 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/1.056, allocations: 29.38 kB / 1.214 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-05/1.056, allocations: 44.38 kB / 1.214 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006695/1.056, allocations: 387.6 kB / 1.215 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/1.056, allocations: 192 / 1.215 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/1.056, allocations: 23.92 kB / 1.215 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/1.056, allocations: 8 kB / 1.215 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005336/1.057, allocations: 275.8 kB / 1.215 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/1.059, allocations: 1.343 MB / 1.216 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008006/1.06, allocations: 254.8 kB / 1.217 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/1.06, allocations: 116.8 kB / 1.217 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/1.06, allocations: 7.938 kB / 1.217 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/1.06, allocations: 34.55 kB / 1.217 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=21): time 1.523e-06/1.06, allocations: 0 / 1.217 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21): time 0.0007317/1.061, allocations: 315.8 kB / 1.217 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.124e-05/1.061, allocations: 106.8 kB / 1.217 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004358/1.061, allocations: 397.6 kB / 1.217 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/1.061, allocations: 33.7 kB / 1.217 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/1.062, allocations: 231.9 kB / 1.218 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.515e-05/1.062, allocations: 82.83 kB / 1.218 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/1.062, allocations: 65.61 kB / 1.218 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001589/1.062, allocations: 346.8 kB / 1.218 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/1.062, allocations: 120.8 kB / 1.218 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/1.063, allocations: 210.6 kB / 1.218 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004987/1.063, allocations: 267.2 kB / 1.219 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.063, allocations: 0 / 1.219 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007218/1.064, allocations: 375.2 kB / 1.219 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/1.064, allocations: 7.938 kB / 1.219 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/1.064, allocations: 4 kB / 1.219 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/1.064, allocations: 0 / 1.219 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/1.064, allocations: 75.89 kB / 1.219 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/1.064, allocations: 4 kB / 1.219 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/1.064, allocations: 51.56 kB / 1.219 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/1.065, allocations: 19.94 kB / 1.219 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003039/1.065, allocations: 205.6 kB / 1.219 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002371/1.065, allocations: 166.6 kB / 1.22 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003284/1.065, allocations: 228.1 kB / 1.22 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/1.065, allocations: 0 / 1.22 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005211/1.066, allocations: 329 kB / 1.22 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/1.066, allocations: 8 kB / 1.22 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/1.066, allocations: 3.938 kB / 1.22 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-06/1.066, allocations: 7.938 kB / 1.22 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/1.066, allocations: 59.92 kB / 1.22 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/1.066, allocations: 7.984 kB / 1.22 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/1.066, allocations: 39.77 kB / 1.22 GB, free: 476 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/1.067, allocations: 8 kB / 1.22 GB, free: 468 kB / 0.9356 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.0001514/1.067, allocations: 204.3 kB / 1.22 GB, free: 256 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-05/1.067, allocations: 35.56 kB / 1.22 GB, free: 220 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005406/1.067, allocations: 248.9 kB / 1.221 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/1.067, allocations: 4 kB / 1.221 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.067, allocations: 0 / 1.221 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.067, allocations: 0 / 1.221 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/1.069, allocations: 0.8442 MB / 1.222 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.069, allocations: 3.938 kB / 1.222 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/1.069, allocations: 47.97 kB / 1.222 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/1.069, allocations: 0 / 1.222 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/1.069, allocations: 7.984 kB / 1.222 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/1.069, allocations: 7.938 kB / 1.222 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.069, allocations: 4 kB / 1.222 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007442/1.07, allocations: 497.9 kB / 1.222 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-05/1.07, allocations: 120.6 kB / 1.222 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/1.07, allocations: 12 kB / 1.222 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/1.07, allocations: 15.98 kB / 1.222 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/1.07, allocations: 23.91 kB / 1.222 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/1.07, allocations: 12 kB / 1.222 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002968/1.07, allocations: 283.2 kB / 1.223 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/1.07, allocations: 0 / 1.223 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004624/1.071, allocations: 119.6 kB / 1.223 GB, free: 13.84 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.0001846/1.071, allocations: 119.1 kB / 1.223 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009014/1.072, allocations: 396.9 kB / 1.223 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.072, allocations: 4 kB / 1.223 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000196/1.072, allocations: 108.9 kB / 1.223 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005392/1.073, allocations: 75.11 kB / 1.223 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/1.074, allocations: 0.6811 MB / 1.224 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/1.075, allocations: 0.7918 MB / 1.225 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001587/1.075, allocations: 42.94 kB / 1.225 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.338e-05/1.075, allocations: 39.42 kB / 1.225 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of SimCode: time 4.61e-07/1.075, allocations: 3.938 kB / 1.225 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of Templates: time 0.007695/1.083, allocations: 3.753 MB / 1.229 GB, free: 7.801 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches