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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001465/0.001465, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00174/0.00174, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.474/1.474, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.981/2.981, allocations: 472.6 MB / 0.7447 GB, free: 5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 71.84 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3574, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.004203/0.3617, allocations: 1.877 MB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002133/0.3638, allocations: 1.24 MB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000549/0.3644, allocations: 8 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003884/0.3648, allocations: 51.52 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.3652, allocations: 39.7 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005667/0.3658, allocations: 147.8 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006589/0.3665, allocations: 453 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004631/0.3669, allocations: 246.3 kB / 1.072 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.3671, allocations: 147.3 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.3674, allocations: 179 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.071e-05/0.3675, allocations: 24 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.901e-05/0.3675, allocations: 24 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.703e-05/0.3676, allocations: 79.61 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.3678, allocations: 178.8 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004668/0.3683, allocations: 0.518 MB / 1.073 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3683, allocations: 0 / 1.073 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3683, allocations: 0 / 1.073 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.3683, allocations: 0 / 1.073 GB, free: 5.711 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001511/0.3698, allocations: 0.7252 MB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3699, allocations: 11.97 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.37, allocations: 52.38 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004779/0.3705, allocations: 332.3 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/0.3705, allocations: 33.38 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.539e-05/0.3706, allocations: 40.38 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007134/0.3713, allocations: 391.5 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.3713, allocations: 4.172 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/0.3714, allocations: 15.94 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.3714, allocations: 12 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005854/0.372, allocations: 275.8 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002326/0.3743, allocations: 1.351 MB / 1.076 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008721/0.3752, allocations: 249.8 kB / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.3755, allocations: 128.7 kB / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.3755, allocations: 4 kB / 1.076 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.3756, allocations: 38.5 kB / 1.076 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=21): time 1.803e-06/0.3756, allocations: 3.938 kB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21): time 0.0007681/0.3764, allocations: 309 kB / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/0.3765, allocations: 102.8 kB / 1.077 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005017/0.377, allocations: 401.7 kB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.377, allocations: 29.7 kB / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.3772, allocations: 235.9 kB / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.425e-05/0.3773, allocations: 74.91 kB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.3775, allocations: 69.59 kB / 1.077 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.3776, allocations: 338.8 kB / 1.078 GB, free: 308 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003232/0.378, allocations: 124.8 kB / 1.078 GB, free: 180 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003874/0.3784, allocations: 210.9 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/0.3789, allocations: 263.1 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3789, allocations: 0 / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008345/0.3798, allocations: 366.3 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.3798, allocations: 8.094 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3798, allocations: 8 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.3798, allocations: 0 / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.3802, allocations: 75.89 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.3802, allocations: 4 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.3805, allocations: 55.5 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.3805, allocations: 12 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003556/0.3809, allocations: 216 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002719/0.3812, allocations: 177.7 kB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003685/0.3816, allocations: 223.7 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.325e-06/0.3816, allocations: 0 / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005942/0.3822, allocations: 320.5 kB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3822, allocations: 9.719 kB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3822, allocations: 8.094 kB / 1.08 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.983e-06/0.3822, allocations: 7.938 kB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.3825, allocations: 63.91 kB / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.3825, allocations: 11.94 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.3827, allocations: 35.73 kB / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.3828, allocations: 8 kB / 1.08 GB, free: 14.02 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.0001584/0.3829, allocations: 200.2 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.135e-05/0.383, allocations: 39.56 kB / 1.08 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005277/0.3835, allocations: 241.6 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.3836, allocations: 4 kB / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.3836, allocations: 0 / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.3836, allocations: 7.922 kB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/0.3852, allocations: 0.8522 MB / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3852, allocations: 96 / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.3854, allocations: 51.91 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.848e-06/0.3855, allocations: 7.984 kB / 1.081 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.3855, allocations: 4 kB / 1.081 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3855, allocations: 0 / 1.081 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.3855, allocations: 4 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008371/0.3863, allocations: 495.4 kB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.3865, allocations: 120.6 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/0.3865, allocations: 11.98 kB / 1.082 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.3867, allocations: 19.98 kB / 1.082 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.3868, allocations: 19.86 kB / 1.082 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.3868, allocations: 12 kB / 1.082 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003636/0.3872, allocations: 287.2 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3872, allocations: 0 / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005864/0.3878, allocations: 123.5 kB / 1.082 GB, free: 11.4 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.0002658/0.3881, allocations: 111.2 kB / 1.082 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009217/0.389, allocations: 401.3 kB / 1.083 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.389, allocations: 0 / 1.083 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.3892, allocations: 105 kB / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007163/0.3899, allocations: 76.23 kB / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.3915, allocations: 0.8234 MB / 1.084 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.392, allocations: 0.7921 MB / 1.084 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001946/0.3922, allocations: 42.95 kB / 1.084 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.45e-05/0.3923, allocations: 31.42 kB / 1.084 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.3923, allocations: 0 / 1.084 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of Templates: time 0.00896/0.4012, allocations: 3.449 MB / 1.088 GB, free: 5.523 MB / 0.8419 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