Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001905/0.001905, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 216.9 kB / 22.25 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.565/1.565, allocations: 230.6 MB / 256 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.292/3.292, allocations: 0.505 GB / 0.8101 GB, free: 23.66 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 64.17 kB / 1.177 GB, free: 16.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3756, allocations: 180.2 MB / 1.353 GB, free: 8.176 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002112/0.3777, allocations: 0.7849 MB / 1.354 GB, free: 7.391 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3788, allocations: 0.8587 MB / 1.354 GB, free: 6.52 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.854e-05/0.3788, allocations: 4 kB / 1.354 GB, free: 6.516 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.942e-05/0.3789, allocations: 7.875 kB / 1.354 GB, free: 6.508 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.404e-05/0.379, allocations: 15.86 kB / 1.354 GB, free: 6.492 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.508e-05/0.3791, allocations: 27.97 kB / 1.355 GB, free: 6.465 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.3792, allocations: 95.77 kB / 1.355 GB, free: 6.371 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.3794, allocations: 40.44 kB / 1.355 GB, free: 6.328 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.48e-05/0.3794, allocations: 35.86 kB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.822e-05/0.3795, allocations: 39.83 kB / 1.355 GB, free: 6.254 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.3795, allocations: 8 kB / 1.355 GB, free: 6.246 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.268e-05/0.3796, allocations: 8 kB / 1.355 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.142e-05/0.3796, allocations: 23.92 kB / 1.355 GB, free: 6.215 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.082e-05/0.3797, allocations: 31.86 kB / 1.355 GB, free: 6.184 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.3798, allocations: 119.7 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3798, allocations: 0 / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3798, allocations: 0 / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3798, allocations: 0 / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006749/0.3805, allocations: 330 kB / 1.355 GB, free: 5.711 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3805, allocations: 8.031 kB / 1.355 GB, free: 5.703 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.351e-05/0.3806, allocations: 42.69 kB / 1.355 GB, free: 5.652 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.3806, allocations: 8.891 kB / 1.355 GB, free: 5.645 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.3808, allocations: 134.4 kB / 1.355 GB, free: 5.488 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.3809, allocations: 8.375 kB / 1.355 GB, free: 5.48 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.3809, allocations: 4.375 kB / 1.355 GB, free: 5.477 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.3812, allocations: 116.1 kB / 1.356 GB, free: 5.359 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3812, allocations: 3.938 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.3812, allocations: 4 kB / 1.356 GB, free: 5.352 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3812, allocations: 0 / 1.356 GB, free: 5.352 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003374/0.3816, allocations: 91.91 kB / 1.356 GB, free: 5.262 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000534/0.3821, allocations: 319.6 kB / 1.356 GB, free: 4.906 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.3824, allocations: 86.47 kB / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.3825, allocations: 52.81 kB / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.3825, allocations: 0 / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.3826, allocations: 34.56 kB / 1.356 GB, free: 4.715 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.3826, allocations: 0 / 1.356 GB, free: 4.715 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006197/0.3832, allocations: 161.5 kB / 1.356 GB, free: 4.551 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.3832, allocations: 59.28 kB / 1.356 GB, free: 4.48 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.3834, allocations: 117.8 kB / 1.356 GB, free: 4.355 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.3834, allocations: 25.7 kB / 1.356 GB, free: 4.324 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.278e-05/0.3834, allocations: 104 kB / 1.357 GB, free: 4.219 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.3835, allocations: 19.8 kB / 1.357 GB, free: 4.199 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.3835, allocations: 21.7 kB / 1.357 GB, free: 4.172 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3837, allocations: 322.8 kB / 1.357 GB, free: 3.848 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.3838, allocations: 39.95 kB / 1.357 GB, free: 3.809 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.384, allocations: 35.97 kB / 1.357 GB, free: 3.773 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.3843, allocations: 88.92 kB / 1.357 GB, free: 3.684 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3843, allocations: 4 kB / 1.357 GB, free: 3.68 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003707/0.3847, allocations: 122 kB / 1.357 GB, free: 3.555 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3847, allocations: 8 kB / 1.357 GB, free: 3.547 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3847, allocations: 3.984 kB / 1.357 GB, free: 3.543 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3847, allocations: 0 / 1.357 GB, free: 3.543 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.3849, allocations: 27.92 kB / 1.357 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.3849, allocations: 8.062 kB / 1.357 GB, free: 3.508 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.234e-05/0.385, allocations: 15.92 kB / 1.357 GB, free: 3.492 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.385, allocations: 0 / 1.357 GB, free: 3.492 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001015/0.3851, allocations: 113.8 kB / 1.357 GB, free: 3.371 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.3851, allocations: 11.94 kB / 1.357 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.3852, allocations: 12.38 kB / 1.357 GB, free: 3.348 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3852, allocations: 3.938 kB / 1.357 GB, free: 3.344 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3852, allocations: 0 / 1.357 GB, free: 3.344 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.3852, allocations: 4 kB / 1.357 GB, free: 3.34 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.3854, allocations: 148.7 kB / 1.357 GB, free: 3.152 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3854, allocations: 4 kB / 1.358 GB, free: 3.148 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.3855, allocations: 23.97 kB / 1.358 GB, free: 3.125 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3855, allocations: 3.938 kB / 1.358 GB, free: 3.121 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3855, allocations: 4 kB / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.3855, allocations: 7.938 kB / 1.358 GB, free: 3.109 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3855, allocations: 0 / 1.358 GB, free: 3.109 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004065/0.3859, allocations: 219.8 kB / 1.358 GB, free: 2.879 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.386, allocations: 15.88 kB / 1.358 GB, free: 2.863 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.386, allocations: 4 kB / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.3861, allocations: 15.92 kB / 1.358 GB, free: 2.844 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.3861, allocations: 11.92 kB / 1.358 GB, free: 2.832 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.3861, allocations: 0 / 1.358 GB, free: 2.832 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.543e-05/0.3862, allocations: 91.27 kB / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3862, allocations: 0 / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002439/0.3864, allocations: 16 kB / 1.358 GB, free: 2.727 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (7): * Single equations (assignments): 7 * 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.0007927/0.3872, allocations: 0.7592 MB / 1.359 GB, free: 1.941 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003865/0.3876, allocations: 87.91 kB / 1.359 GB, free: 1.855 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3876, allocations: 3.938 kB / 1.359 GB, free: 1.852 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.3878, allocations: 51.95 kB / 1.359 GB, free: 1.801 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.3882, allocations: 11.94 kB / 1.359 GB, free: 1.789 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.3903, allocations: 1.486 MB / 1.36 GB, free: 232 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.734e-05/0.3904, allocations: 75.89 kB / 1.36 GB, free: 132 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.469e-05/0.3905, allocations: 7.984 kB / 1.36 GB, free: 124 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.55e-05/0.3905, allocations: 23.44 kB / 1.36 GB, free: 100 kB / 1.045 GB Notification: Performance of SimCode: time 4.7e-07/0.3905, allocations: 0 / 1.36 GB, free: 100 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03165/0.4222, allocations: 2.676 MB / 1.363 GB, free: 13.6 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.74, allocations: 10.42 kB / 1.363 GB, free: 13.59 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.78879501100164]