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.001581/0.001581, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002127/0.002127, allocations: 211.3 kB / 22.24 MB, free: 4.859 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 7.793 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.521/3.521, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.002121/0.002121, allocations: 67.78 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3673, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002185/0.3695, allocations: 0.7905 MB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3707, allocations: 0.8548 MB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.244e-05/0.3708, allocations: 0 / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.699e-05/0.3708, allocations: 7.938 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.566e-05/0.3709, allocations: 15.88 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 8.386e-05/0.371, allocations: 27.97 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.3711, allocations: 95.7 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.3713, allocations: 36.42 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.071e-05/0.3714, allocations: 35.86 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.874e-05/0.3715, allocations: 31.84 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.3715, allocations: 12 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.704e-05/0.3715, allocations: 11.94 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/0.3715, allocations: 19.92 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.516e-05/0.3716, allocations: 35.86 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.3718, allocations: 126.6 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3718, allocations: 0 / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.414e-06/0.3718, allocations: 4 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.3718, allocations: 0 / 1.365 GB, free: 12 MB / 1.061 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.0005904/0.3724, allocations: 318.1 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3724, allocations: 8.031 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.288e-05/0.3725, allocations: 42.73 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.3725, allocations: 12.89 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.3727, allocations: 134.4 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.3727, allocations: 8.375 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.3727, allocations: 4.375 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.373, allocations: 112.3 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.373, allocations: 3.938 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3731, allocations: 4 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.3731, allocations: 4 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003483/0.3734, allocations: 95.91 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.3739, allocations: 319.6 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.3742, allocations: 78.53 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.3744, allocations: 60.73 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.3744, allocations: 0 / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.3744, allocations: 38.56 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.3744, allocations: 0 / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0005864/0.375, allocations: 157.5 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.3751, allocations: 59.34 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.3752, allocations: 117.8 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.3752, allocations: 26.08 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.3753, allocations: 104 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.3753, allocations: 23.75 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.3753, allocations: 17.72 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3755, allocations: 326.7 kB / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.3756, allocations: 39.97 kB / 1.367 GB, free: 9.746 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.3758, allocations: 39.95 kB / 1.368 GB, free: 9.707 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.3761, allocations: 88.92 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3761, allocations: 0 / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003664/0.3765, allocations: 121.6 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3765, allocations: 8 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3765, allocations: 0 / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3765, allocations: 0 / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.3767, allocations: 31.84 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3767, allocations: 0 / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.846e-05/0.3768, allocations: 15.94 kB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3768, allocations: 0 / 1.368 GB, free: 9.438 MB / 1.061 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 9.725e-05/0.3769, allocations: 113.8 kB / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.3769, allocations: 4 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.3769, allocations: 20.36 kB / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3769, allocations: 7.938 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3769, allocations: 0 / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.3769, allocations: 0 / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.3771, allocations: 156.7 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3772, allocations: 4 kB / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.3773, allocations: 19.98 kB / 1.368 GB, free: 9.062 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3773, allocations: 3.938 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3773, allocations: 7.984 kB / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3773, allocations: 7.938 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3773, allocations: 0 / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004135/0.3777, allocations: 215.4 kB / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/0.3777, allocations: 11.89 kB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.3777, allocations: 4 kB / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.3779, allocations: 15.91 kB / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.3779, allocations: 7.984 kB / 1.368 GB, free: 8.777 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.3779, allocations: 4 kB / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.868e-05/0.378, allocations: 87.28 kB / 1.368 GB, free: 8.688 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/0.378, allocations: 4.281 kB / 1.368 GB, free: 8.684 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002356/0.3782, allocations: 19.95 kB / 1.368 GB, free: 8.664 MB / 1.061 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.0007374/0.379, allocations: 0.7475 MB / 1.369 GB, free: 7.891 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003756/0.3793, allocations: 96.59 kB / 1.369 GB, free: 7.797 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3793, allocations: 0 / 1.369 GB, free: 7.797 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.3795, allocations: 47.91 kB / 1.369 GB, free: 7.75 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.3799, allocations: 20.23 kB / 1.369 GB, free: 7.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.382, allocations: 1.491 MB / 1.371 GB, free: 6.164 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.002e-05/0.3821, allocations: 75.89 kB / 1.371 GB, free: 6.066 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.802e-05/0.3822, allocations: 7.984 kB / 1.371 GB, free: 6.059 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.219e-05/0.3822, allocations: 23.44 kB / 1.371 GB, free: 6.035 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.3822, allocations: 0 / 1.371 GB, free: 6.035 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/0.4133, allocations: 2.633 MB / 1.373 GB, free: 3.586 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.9, allocations: 11.31 kB / 1.373 GB, free: 3.578 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: 19.120749462861568]