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.00187/0.00187, allocations: 116.7 kB / 17.17 MB, free: 5.977 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.00247/0.00247, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.59/1.59, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.058/3.058, allocations: 0.5003 GB / 0.8026 GB, free: 6.715 MB / 0.6387 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.002221/0.002221, allocations: 59.91 kB / 1.165 GB, free: 492 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172/1.174, allocations: 179 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.00246/1.176, allocations: 0.8128 MB / 1.341 GB, free: 15.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001167/1.178, allocations: 0.8655 MB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.218e-05/1.178, allocations: 4.969 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.338e-05/1.178, allocations: 5.953 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.757e-05/1.178, allocations: 11.8 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.67e-05/1.178, allocations: 27.23 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001526/1.178, allocations: 95.08 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/1.178, allocations: 32.78 kB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.475e-05/1.178, allocations: 45.06 kB / 1.342 GB, free: 14.97 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.076e-05/1.178, allocations: 42.66 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/1.178, allocations: 8.5 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.631e-05/1.178, allocations: 9.312 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.116e-05/1.178, allocations: 22.73 kB / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/1.178, allocations: 43.95 kB / 1.342 GB, free: 14.9 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002092/1.179, allocations: 116 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.179, allocations: 0 / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.304e-06/1.179, allocations: 3.938 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.145e-06/1.179, allocations: 1.188 kB / 1.342 GB, free: 14.86 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.000606/1.179, allocations: 405.3 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/1.179, allocations: 10.7 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.141e-05/1.179, allocations: 1.531 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.311e-05/1.179, allocations: 39.48 kB / 1.343 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/1.179, allocations: 9.516 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/1.18, allocations: 190.8 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/1.18, allocations: 4 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/1.18, allocations: 17.09 kB / 1.343 GB, free: 14.19 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/1.18, allocations: 111.2 kB / 1.343 GB, free: 14.13 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/1.18, allocations: 0 / 1.343 GB, free: 14.13 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/1.18, allocations: 4.969 kB / 1.343 GB, free: 14.13 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/1.18, allocations: 2.219 kB / 1.343 GB, free: 14.13 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/1.18, allocations: 94.78 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/1.181, allocations: 363.2 kB / 1.343 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/1.181, allocations: 76.77 kB / 1.344 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/1.181, allocations: 57.03 kB / 1.344 GB, free: 13.73 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/1.181, allocations: 0 / 1.344 GB, free: 13.73 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/1.181, allocations: 44.31 kB / 1.344 GB, free: 13.68 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/1.181, allocations: 1.188 kB / 1.344 GB, free: 13.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0006097/1.182, allocations: 158 kB / 1.344 GB, free: 13.62 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/1.182, allocations: 61.73 kB / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.801e-05/1.182, allocations: 111 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/1.182, allocations: 25.7 kB / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/1.182, allocations: 99.41 kB / 1.344 GB, free: 13.32 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/1.182, allocations: 20.36 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/1.182, allocations: 19.62 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.96e-05/1.182, allocations: 318.8 kB / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/1.182, allocations: 47.22 kB / 1.344 GB, free: 12.95 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/1.183, allocations: 40.47 kB / 1.344 GB, free: 12.95 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/1.183, allocations: 94.55 kB / 1.345 GB, free: 12.91 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.183, allocations: 4 kB / 1.345 GB, free: 12.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003527/1.183, allocations: 122.2 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/1.183, allocations: 5.344 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/1.183, allocations: 0.6562 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/1.183, allocations: 5.75 kB / 1.345 GB, free: 12.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/1.183, allocations: 19.94 kB / 1.345 GB, free: 12.85 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/1.183, allocations: 9.312 kB / 1.345 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.425e-05/1.184, allocations: 11.56 kB / 1.345 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/1.184, allocations: 2.125 kB / 1.345 GB, free: 12.84 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 6.897e-05/1.184, allocations: 118.6 kB / 1.345 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/1.184, allocations: 6.703 kB / 1.345 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/1.184, allocations: 15.11 kB / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/1.184, allocations: 3.938 kB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.184, allocations: 1.375 kB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.184, allocations: 4.656 kB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/1.184, allocations: 199.2 kB / 1.345 GB, free: 12.49 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.184, allocations: 1.375 kB / 1.345 GB, free: 12.49 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/1.184, allocations: 20.98 kB / 1.345 GB, free: 12.49 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/1.184, allocations: 0 / 1.345 GB, free: 12.49 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/1.184, allocations: 2.125 kB / 1.345 GB, free: 12.49 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/1.184, allocations: 3.938 kB / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/1.184, allocations: 0 / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/1.184, allocations: 233 kB / 1.345 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/1.184, allocations: 82.95 kB / 1.345 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/1.184, allocations: 1.375 kB / 1.345 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/1.185, allocations: 15.73 kB / 1.345 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/1.185, allocations: 9.188 kB / 1.345 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/1.185, allocations: 5.891 kB / 1.345 GB, free: 12.21 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.656e-05/1.185, allocations: 90.3 kB / 1.346 GB, free: 12.13 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.185, allocations: 0 / 1.346 GB, free: 12.13 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002355/1.185, allocations: 12.66 kB / 1.346 GB, free: 12.13 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.0006009/1.185, allocations: 0.7667 MB / 1.346 GB, free: 11.43 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004033/1.186, allocations: 84.48 kB / 1.346 GB, free: 11.42 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.186, allocations: 0 / 1.346 GB, free: 11.42 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/1.186, allocations: 53.75 kB / 1.346 GB, free: 11.41 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/1.186, allocations: 20.59 kB / 1.346 GB, free: 11.4 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/1.188, allocations: 1.504 MB / 1.348 GB, free: 10.12 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/1.188, allocations: 0.6929 MB / 1.349 GB, free: 9.422 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.53e-05/1.188, allocations: 8.312 kB / 1.349 GB, free: 9.418 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/1.189, allocations: 23.88 kB / 1.349 GB, free: 9.398 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/1.189, allocations: 1.125 kB / 1.349 GB, free: 9.398 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/1.208, allocations: 2.129 MB / 1.351 GB, free: 9.023 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.612/9.82, allocations: 17.05 kB / 1.351 GB, free: 9.012 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.674868466041517]