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.001353/0.001353, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001454/0.001454, allocations: 215.4 kB / 23.03 MB, free: 4.922 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.385/3.385, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 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="cs",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="cs",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.002076/0.002076, allocations: 70.42 kB / 1.171 GB, free: 19.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3701, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002791/0.3729, allocations: 0.7674 MB / 1.346 GB, free: 15.21 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.3741, allocations: 0.8627 MB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.674e-05/0.3742, allocations: 0 / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.363e-05/0.3743, allocations: 7.875 kB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.3744, allocations: 19.84 kB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 9.011e-05/0.3745, allocations: 27.97 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.3746, allocations: 91.77 kB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.3748, allocations: 32.45 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.3749, allocations: 39.84 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.256e-05/0.375, allocations: 43.78 kB / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.375, allocations: 16 kB / 1.347 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.086e-05/0.3751, allocations: 8 kB / 1.347 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.832e-05/0.3751, allocations: 11.98 kB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.247e-05/0.3751, allocations: 43.78 kB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.3753, allocations: 107.8 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3753, allocations: 0 / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3753, allocations: 4 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.966e-06/0.3753, allocations: 0 / 1.347 GB, free: 13.89 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.0006227/0.376, allocations: 323.2 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.376, allocations: 15.97 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.878e-05/0.376, allocations: 4.188 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.692e-05/0.3761, allocations: 42.75 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.3761, allocations: 8.891 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.3763, allocations: 130.4 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.3763, allocations: 12.31 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.3763, allocations: 8.375 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.3767, allocations: 113.8 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3767, allocations: 0 / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3767, allocations: 4 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3767, allocations: 0 / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000353/0.3771, allocations: 99.89 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005232/0.3776, allocations: 319.7 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.3779, allocations: 86.53 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.378, allocations: 48.81 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.378, allocations: 0 / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.3781, allocations: 34.5 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3781, allocations: 4 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006065/0.3787, allocations: 169.7 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.3787, allocations: 55.34 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.3789, allocations: 109.8 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.3789, allocations: 33.7 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.376e-05/0.379, allocations: 104 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.379, allocations: 19.8 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.906e-05/0.379, allocations: 25.7 kB / 1.349 GB, free: 11.97 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3792, allocations: 310.8 kB / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.3793, allocations: 43.95 kB / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.3795, allocations: 39.97 kB / 1.349 GB, free: 11.58 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.3798, allocations: 88.72 kB / 1.349 GB, free: 11.49 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3798, allocations: 0 / 1.349 GB, free: 11.49 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003743/0.3802, allocations: 125.6 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.3802, allocations: 8 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3802, allocations: 0 / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.3802, allocations: 3.938 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.3804, allocations: 19.98 kB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3804, allocations: 0 / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.001e-05/0.3805, allocations: 11.98 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.3805, allocations: 4.375 kB / 1.35 GB, free: 11.31 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.0001239/0.3806, allocations: 125.8 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.3807, allocations: 7.953 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.697e-05/0.3807, allocations: 8.375 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.3807, allocations: 7.875 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3807, allocations: 4 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.3807, allocations: 0 / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.381, allocations: 156.7 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.381, allocations: 0 / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.3811, allocations: 27.97 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.3811, allocations: 0 / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.3811, allocations: 4 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.3811, allocations: 3.938 kB / 1.35 GB, free: 10.92 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3811, allocations: 0 / 1.35 GB, free: 10.92 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004499/0.3816, allocations: 223.4 kB / 1.35 GB, free: 10.69 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.3816, allocations: 7.891 kB / 1.35 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.3816, allocations: 0 / 1.35 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.3817, allocations: 19.92 kB / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.3818, allocations: 11.98 kB / 1.35 GB, free: 10.65 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.3818, allocations: 4 kB / 1.35 GB, free: 10.64 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.339e-05/0.3819, allocations: 91.27 kB / 1.35 GB, free: 10.55 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3819, allocations: 3.938 kB / 1.35 GB, free: 10.55 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002459/0.3821, allocations: 12 kB / 1.35 GB, free: 10.54 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.0008097/0.3829, allocations: 0.7592 MB / 1.351 GB, free: 9.754 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003808/0.3833, allocations: 92.62 kB / 1.351 GB, free: 9.664 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3833, allocations: 0 / 1.351 GB, free: 9.664 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.3835, allocations: 51.89 kB / 1.351 GB, free: 9.613 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.3839, allocations: 29.73 kB / 1.351 GB, free: 9.586 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.3862, allocations: 1.481 MB / 1.353 GB, free: 8.027 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.32e-05/0.3862, allocations: 83.94 kB / 1.353 GB, free: 7.922 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.419e-05/0.3863, allocations: 11.75 kB / 1.353 GB, free: 7.91 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.174e-05/0.3864, allocations: 27.42 kB / 1.353 GB, free: 7.883 MB / 1.045 GB Notification: Performance of SimCode: time 5.81e-07/0.3864, allocations: 3.938 kB / 1.353 GB, free: 7.879 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.4109, allocations: 2.279 MB / 1.355 GB, free: 5.801 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.93, allocations: 8.5 kB / 1.355 GB, free: 5.793 MB / 1.045 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: 19.106168408994563]