Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPD.D.y|limPID.y|limPD.y|limPID.D.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPD.D.y|limPID.y|limPD.y|limPID.D.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.438/1.438, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001479, allocations: 181.1 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.035/2.035, allocations: 205.4 MB / 0.5775 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008862/0.0008861, allocations: 92.45 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003236, allocations: 11.62 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2578, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1987/0.4566, allocations: 134 MB / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/0.457, allocations: 79.95 kB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02069/0.4777, allocations: 7.974 MB / 1.039 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.016e-06/0.4777, allocations: 3.938 kB / 1.039 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.391e-05/0.4778, allocations: 8 kB / 1.039 GB, free: 1.617 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001296/0.4791, allocations: 0.7052 MB / 1.04 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.4791, allocations: 8.031 kB / 1.04 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.4792, allocations: 47.44 kB / 1.04 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006741/0.4799, allocations: 395.5 kB / 1.04 GB, free: 388 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.48, allocations: 29 kB / 1.04 GB, free: 360 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.346e-05/0.48, allocations: 39.98 kB / 1.04 GB, free: 320 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006695/0.4807, allocations: 392.1 kB / 1.04 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.4807, allocations: 4 kB / 1.04 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.4808, allocations: 16 kB / 1.04 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.4808, allocations: 8 kB / 1.04 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000554/0.4814, allocations: 294.4 kB / 1.041 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.4833, allocations: 1.429 MB / 1.042 GB, free: 14.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009469/0.4843, allocations: 355.3 kB / 1.042 GB, free: 13.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.4843, allocations: 4 kB / 1.042 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.4844, allocations: 34.56 kB / 1.043 GB, free: 13.69 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.683e-06/0.4844, allocations: 0 / 1.043 GB, free: 13.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.0007754/0.4851, allocations: 376.3 kB / 1.043 GB, free: 13.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.632e-05/0.4852, allocations: 110.8 kB / 1.043 GB, free: 13.19 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004198/0.4857, allocations: 365.1 kB / 1.043 GB, free: 12.83 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.4857, allocations: 29.7 kB / 1.043 GB, free: 12.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.4859, allocations: 236.2 kB / 1.044 GB, free: 12.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.799e-05/0.486, allocations: 90.69 kB / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.504e-05/0.486, allocations: 4 kB / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.4862, allocations: 350.8 kB / 1.044 GB, free: 12.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.4864, allocations: 111.9 kB / 1.044 GB, free: 12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/0.4868, allocations: 187.8 kB / 1.044 GB, free: 11.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.4871, allocations: 139.9 kB / 1.044 GB, free: 11.65 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4871, allocations: 0 / 1.044 GB, free: 11.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006402/0.4877, allocations: 362.7 kB / 1.045 GB, free: 11.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002177/0.488, allocations: 453 kB / 1.045 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.488, allocations: 0 / 1.045 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.488, allocations: 4 kB / 1.045 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.4883, allocations: 63.95 kB / 1.045 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.4883, allocations: 11.97 kB / 1.045 GB, free: 10.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.4885, allocations: 55.66 kB / 1.045 GB, free: 10.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.4886, allocations: 12 kB / 1.045 GB, free: 10.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.4886, allocations: 4 kB / 1.045 GB, free: 10.67 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003846/0.489, allocations: 231.8 kB / 1.046 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-06/0.489, allocations: 0 / 1.046 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-06/0.489, allocations: 4.094 kB / 1.046 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.4892, allocations: 59.91 kB / 1.046 GB, free: 10.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.4892, allocations: 4 kB / 1.046 GB, free: 10.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.4894, allocations: 39.67 kB / 1.046 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.4894, allocations: 12 kB / 1.046 GB, free: 10.33 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002657/0.4897, allocations: 233 kB / 1.046 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.497e-05/0.4898, allocations: 39.53 kB / 1.046 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.4899, allocations: 47.75 kB / 1.046 GB, free: 10.01 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.4899, allocations: 7.984 kB / 1.046 GB, free: 10 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.4899, allocations: 0 / 1.046 GB, free: 10 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.4899, allocations: 0 / 1.046 GB, free: 10 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.4915, allocations: 0.8999 MB / 1.047 GB, free: 9.016 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.4915, allocations: 8 kB / 1.047 GB, free: 9.008 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.4917, allocations: 59.89 kB / 1.047 GB, free: 8.949 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.4918, allocations: 7.953 kB / 1.047 GB, free: 8.941 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.4918, allocations: 8 kB / 1.047 GB, free: 8.934 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.4918, allocations: 4 kB / 1.047 GB, free: 8.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4918, allocations: 0 / 1.047 GB, free: 8.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009541/0.4928, allocations: 0.6812 MB / 1.048 GB, free: 8.148 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.315e-05/0.4929, allocations: 120.6 kB / 1.048 GB, free: 8.012 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.4929, allocations: 8 kB / 1.048 GB, free: 8.004 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.4931, allocations: 23.98 kB / 1.048 GB, free: 7.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.4932, allocations: 31.86 kB / 1.048 GB, free: 7.949 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.4932, allocations: 11.94 kB / 1.048 GB, free: 7.938 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000286/0.4935, allocations: 287.2 kB / 1.048 GB, free: 7.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.124e-06/0.4935, allocations: 0 / 1.048 GB, free: 7.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004561/0.494, allocations: 127.5 kB / 1.048 GB, free: 7.535 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002103/0.4942, allocations: 123.1 kB / 1.048 GB, free: 7.402 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007502/0.4949, allocations: 394.6 kB / 1.049 GB, free: 7.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/0.495, allocations: 384 / 1.049 GB, free: 7.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.4952, allocations: 131.8 kB / 1.049 GB, free: 6.891 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005831/0.4958, allocations: 91.98 kB / 1.049 GB, free: 6.805 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.4972, allocations: 0.8871 MB / 1.05 GB, free: 5.859 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.4976, allocations: 0.8196 MB / 1.051 GB, free: 5.016 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001923/0.4978, allocations: 43.34 kB / 1.051 GB, free: 4.973 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.887e-05/0.4979, allocations: 35.42 kB / 1.051 GB, free: 4.938 MB / 0.698 GB Notification: Performance of SimCode: time 4.31e-07/0.4979, allocations: 4 kB / 1.051 GB, free: 4.934 MB / 0.698 GB Notification: Performance of Templates: time 0.007667/0.5056, allocations: 3.53 MB / 1.054 GB, free: 1.469 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches