Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001243, allocations: 92.55 kB / 16.02 MB, free: 80 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.001689/0.001689, allocations: 173.5 kB / 16.92 MB, free: 6.652 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.53/1.53, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.912/2.912, allocations: 443.2 MB / 0.7181 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003961, allocations: 8.625 kB / 0.8801 GB, free: 41.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3743, allocations: 155.1 MB / 1.032 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput): time 0.003075/0.3774, allocations: 2.414 MB / 1.034 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.3786, allocations: 0.5848 MB / 1.035 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002097/0.3788, allocations: 15.94 kB / 1.035 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.379, allocations: 59.44 kB / 1.035 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000262/0.3793, allocations: 51.66 kB / 1.035 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.3796, allocations: 155.8 kB / 1.035 GB, free: 1.258 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004617/0.3801, allocations: 488.8 kB / 1.035 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003819/0.3805, allocations: 254.3 kB / 1.036 GB, free: 0.5273 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.3806, allocations: 119.2 kB / 1.036 GB, free: 420 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.3808, allocations: 135 kB / 1.036 GB, free: 284 kB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.178e-05/0.3808, allocations: 12 kB / 1.036 GB, free: 272 kB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.717e-05/0.3809, allocations: 16 kB / 1.036 GB, free: 256 kB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.089e-05/0.3809, allocations: 59.64 kB / 1.036 GB, free: 196 kB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.3811, allocations: 192.5 kB / 1.036 GB, free: 15.99 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003917/0.3815, allocations: 470.8 kB / 1.037 GB, free: 15.54 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3815, allocations: 0 / 1.037 GB, free: 15.54 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3815, allocations: 0 / 1.037 GB, free: 15.54 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.3815, allocations: 0 / 1.037 GB, free: 15.54 MB / 0.795 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.001101/0.3826, allocations: 0.6978 MB / 1.037 GB, free: 14.78 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3827, allocations: 15.98 kB / 1.037 GB, free: 14.77 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.956e-05/0.3828, allocations: 52.28 kB / 1.037 GB, free: 14.71 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.3832, allocations: 356.8 kB / 1.038 GB, free: 14.33 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.3832, allocations: 33.31 kB / 1.038 GB, free: 14.3 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.87e-05/0.3833, allocations: 40.38 kB / 1.038 GB, free: 14.26 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000673/0.384, allocations: 409.3 kB / 1.038 GB, free: 13.84 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.384, allocations: 192 / 1.038 GB, free: 13.84 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.031e-05/0.3841, allocations: 23.92 kB / 1.038 GB, free: 13.82 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.3841, allocations: 8 kB / 1.038 GB, free: 13.81 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005774/0.3847, allocations: 299.7 kB / 1.038 GB, free: 13.52 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.3866, allocations: 1.531 MB / 1.04 GB, free: 11.91 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006981/0.3873, allocations: 282.8 kB / 1.04 GB, free: 11.63 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.3876, allocations: 120.8 kB / 1.04 GB, free: 11.51 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.3876, allocations: 4 kB / 1.04 GB, free: 11.5 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.3877, allocations: 38.55 kB / 1.04 GB, free: 11.46 MB / 0.795 GB Notification: Performance of pre-optimization done (n=19): time 1.773e-06/0.3877, allocations: 0 / 1.04 GB, free: 11.46 MB / 0.795 GB Notification: Performance of matching and sorting (n=19): time 0.0007236/0.3884, allocations: 318.1 kB / 1.041 GB, free: 11.14 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/0.3885, allocations: 106.8 kB / 1.041 GB, free: 11.01 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004636/0.3889, allocations: 433.8 kB / 1.041 GB, free: 10.58 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.389, allocations: 33.64 kB / 1.041 GB, free: 10.54 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.3892, allocations: 255.8 kB / 1.041 GB, free: 10.29 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.585e-05/0.3892, allocations: 71 kB / 1.041 GB, free: 10.21 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.3893, allocations: 33.7 kB / 1.041 GB, free: 10.18 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3895, allocations: 354.8 kB / 1.042 GB, free: 9.82 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.3897, allocations: 107.9 kB / 1.042 GB, free: 9.715 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.39, allocations: 214.8 kB / 1.042 GB, free: 9.465 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004913/0.3905, allocations: 293.7 kB / 1.042 GB, free: 9.152 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3905, allocations: 0 / 1.042 GB, free: 9.152 MB / 0.795 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006694/0.3912, allocations: 376.9 kB / 1.043 GB, free: 8.777 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.012e-05/0.3913, allocations: 146 kB / 1.043 GB, free: 8.605 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.3913, allocations: 7.984 kB / 1.043 GB, free: 8.598 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.3913, allocations: 7.938 kB / 1.043 GB, free: 8.59 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.3916, allocations: 75.84 kB / 1.043 GB, free: 8.516 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.3916, allocations: 0 / 1.043 GB, free: 8.516 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.3919, allocations: 67.5 kB / 1.043 GB, free: 8.449 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.3919, allocations: 12 kB / 1.043 GB, free: 8.438 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.313e-06/0.3919, allocations: 10.03 kB / 1.043 GB, free: 8.43 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003557/0.3923, allocations: 251.8 kB / 1.043 GB, free: 8.184 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-06/0.3923, allocations: 0 / 1.043 GB, free: 8.184 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.749e-06/0.3923, allocations: 4 kB / 1.043 GB, free: 8.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.3925, allocations: 59.92 kB / 1.043 GB, free: 8.121 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3926, allocations: 4 kB / 1.043 GB, free: 8.117 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.3927, allocations: 47.83 kB / 1.043 GB, free: 8.07 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.3928, allocations: 15.98 kB / 1.043 GB, free: 8.055 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPD.noTri.y,limPID.noTri.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.0002075/0.393, allocations: 241 kB / 1.044 GB, free: 7.809 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.138e-05/0.393, allocations: 39.52 kB / 1.044 GB, free: 7.77 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.928e-05/0.3931, allocations: 39.75 kB / 1.044 GB, free: 7.73 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.3931, allocations: 0 / 1.044 GB, free: 7.73 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.3932, allocations: 0 / 1.044 GB, free: 7.73 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.3932, allocations: 0 / 1.044 GB, free: 7.73 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.3944, allocations: 0.7842 MB / 1.045 GB, free: 6.879 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3944, allocations: 0 / 1.045 GB, free: 6.879 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.3946, allocations: 43.97 kB / 1.045 GB, free: 6.836 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3946, allocations: 48 / 1.045 GB, free: 6.836 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.3946, allocations: 15.92 kB / 1.045 GB, free: 6.82 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.3947, allocations: 4 kB / 1.045 GB, free: 6.816 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3947, allocations: 8.047 kB / 1.045 GB, free: 6.809 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007557/0.3954, allocations: 480.5 kB / 1.045 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-05/0.3955, allocations: 120.6 kB / 1.045 GB, free: 6.176 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.3956, allocations: 12 kB / 1.045 GB, free: 6.164 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.3958, allocations: 27.97 kB / 1.045 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.3958, allocations: 11.92 kB / 1.045 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.3958, allocations: 12 kB / 1.045 GB, free: 6.113 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003277/0.3962, allocations: 295.2 kB / 1.046 GB, free: 5.824 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3962, allocations: 4 kB / 1.046 GB, free: 5.82 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000468/0.3966, allocations: 127.5 kB / 1.046 GB, free: 5.695 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (19): * Single equations (assignments): 19 * 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.0001494/0.3968, allocations: 111.2 kB / 1.046 GB, free: 5.578 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007288/0.3975, allocations: 399.4 kB / 1.046 GB, free: 5.188 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.3976, allocations: 7.938 kB / 1.046 GB, free: 5.18 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.3978, allocations: 105 kB / 1.046 GB, free: 5.078 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006483/0.3984, allocations: 80.08 kB / 1.046 GB, free: 5.004 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.3999, allocations: 0.9022 MB / 1.047 GB, free: 4.055 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.4002, allocations: 0.808 MB / 1.048 GB, free: 3.219 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.701e-05/0.4003, allocations: 35.42 kB / 1.048 GB, free: 3.184 MB / 0.795 GB Notification: Performance of SimCode: time 3.31e-07/0.4003, allocations: 0 / 1.048 GB, free: 3.184 MB / 0.795 GB Notification: Performance of Templates: time 0.007031/0.4074, allocations: 4.554 MB / 1.052 GB, free: 14.65 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches