Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001661/0.001662, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00259/0.002589, allocations: 196.6 kB / 16.53 MB, free: 6.656 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.546/1.546, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.809/2.809, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 67.89 kB / 0.8693 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6784/0.6805, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.003767/0.6843, allocations: 1.838 MB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002364/0.6867, allocations: 1.267 MB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.687, allocations: 11.94 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000252/0.6873, allocations: 63.27 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.6875, allocations: 55.47 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.6879, allocations: 167.7 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005185/0.6884, allocations: 497 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000445/0.6889, allocations: 254.3 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.6891, allocations: 179.3 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.6893, allocations: 195 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.465e-05/0.6894, allocations: 52 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.804e-05/0.6895, allocations: 52 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.6896, allocations: 107.6 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000264/0.6898, allocations: 206.9 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005447/0.6904, allocations: 0.5353 MB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.6904, allocations: 3.938 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6904, allocations: 0 / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.6904, allocations: 0 / 1.023 GB, free: 13.04 MB / 0.7794 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.001575/0.692, allocations: 0.7212 MB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.071e-05/0.6921, allocations: 12.03 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.6922, allocations: 52.31 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006681/0.6929, allocations: 348.3 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.524e-05/0.693, allocations: 25.38 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-05/0.693, allocations: 40.38 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008105/0.6939, allocations: 391.5 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.6939, allocations: 192 / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.701e-05/0.6939, allocations: 23.94 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.694, allocations: 8 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006035/0.6946, allocations: 267.9 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002696/0.6973, allocations: 1.358 MB / 1.026 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.6983, allocations: 254.7 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.6986, allocations: 118.4 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.064e-05/0.6987, allocations: 0 / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.709e-05/0.6987, allocations: 38.56 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.783e-06/0.6987, allocations: 0 / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0009004/0.6996, allocations: 312.1 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.6998, allocations: 106.8 kB / 1.027 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006618/0.7005, allocations: 405.5 kB / 1.027 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.7005, allocations: 29.7 kB / 1.027 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/0.7008, allocations: 232 kB / 1.027 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.202e-05/0.7009, allocations: 78.83 kB / 1.027 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.701, allocations: 65.69 kB / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000245/0.7013, allocations: 350.8 kB / 1.028 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.7016, allocations: 124.7 kB / 1.028 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003849/0.702, allocations: 201.1 kB / 1.028 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005741/0.7026, allocations: 264.8 kB / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.7026, allocations: 0 / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007931/0.7034, allocations: 372.6 kB / 1.029 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.7034, allocations: 15.88 kB / 1.029 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.7035, allocations: 8 kB / 1.029 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.7035, allocations: 4 kB / 1.029 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.7038, allocations: 71.83 kB / 1.029 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.7038, allocations: 4 kB / 1.029 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.7041, allocations: 55.56 kB / 1.029 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.7041, allocations: 8 kB / 1.029 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003174/0.7044, allocations: 212.1 kB / 1.029 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002672/0.7047, allocations: 170.7 kB / 1.029 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003535/0.7051, allocations: 223.6 kB / 1.029 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.868e-06/0.7051, allocations: 3.984 kB / 1.029 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005653/0.7057, allocations: 319.2 kB / 1.03 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.285e-06/0.7057, allocations: 8.156 kB / 1.03 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.7057, allocations: 3.938 kB / 1.03 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.119e-06/0.7057, allocations: 4 kB / 1.03 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.706, allocations: 63.91 kB / 1.03 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.706, allocations: 7.938 kB / 1.03 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.7062, allocations: 35.77 kB / 1.03 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.7062, allocations: 15.98 kB / 1.03 GB, free: 5.344 MB / 0.7794 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.0001828/0.7064, allocations: 202.2 kB / 1.03 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.952e-05/0.7065, allocations: 39.56 kB / 1.03 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005637/0.7071, allocations: 241 kB / 1.03 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.7071, allocations: 4 kB / 1.03 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.7071, allocations: 3.984 kB / 1.03 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.7071, allocations: 0 / 1.03 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.7087, allocations: 0.8598 MB / 1.031 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.7087, allocations: 0 / 1.031 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.7089, allocations: 47.91 kB / 1.031 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.7089, allocations: 4 kB / 1.031 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.7089, allocations: 8 kB / 1.031 GB, free: 3.848 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.7089, allocations: 4 kB / 1.031 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.709, allocations: 0 / 1.031 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008582/0.7098, allocations: 497.4 kB / 1.032 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.7099, allocations: 120.7 kB / 1.032 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/0.71, allocations: 11.98 kB / 1.032 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.7102, allocations: 15.98 kB / 1.032 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.7102, allocations: 27.86 kB / 1.032 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.7103, allocations: 4 kB / 1.032 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003394/0.7106, allocations: 287.2 kB / 1.032 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7106, allocations: 0 / 1.032 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004917/0.7111, allocations: 123.6 kB / 1.032 GB, free: 2.727 MB / 0.7794 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.0002484/0.7114, allocations: 115.2 kB / 1.032 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009098/0.7123, allocations: 407.5 kB / 1.033 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7123, allocations: 0 / 1.033 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.7125, allocations: 103.3 kB / 1.033 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005799/0.7131, allocations: 79.7 kB / 1.033 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.7147, allocations: 0.6889 MB / 1.034 GB, free: 1.293 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.7152, allocations: 0.7957 MB / 1.034 GB, free: 484 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001919/0.7154, allocations: 42.95 kB / 1.034 GB, free: 444 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.872e-05/0.7155, allocations: 27.44 kB / 1.034 GB, free: 416 kB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7155, allocations: 3.938 kB / 1.034 GB, free: 412 kB / 0.7794 GB Notification: Performance of Templates: time 0.008969/0.7245, allocations: 3.621 MB / 1.038 GB, free: 12.81 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches