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.001755/0.001755, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002143/0.002143, allocations: 216.2 kB / 23.04 MB, free: 5.074 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.219/3.219, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 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.002022/0.002022, allocations: 74.03 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.4139, allocations: 179 MB / 1.345 GB, free: 476 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.003268/0.4172, allocations: 0.8168 MB / 1.346 GB, free: 15.65 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.4185, allocations: 0.8666 MB / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.4185, allocations: 0 / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.053e-05/0.4186, allocations: 11.86 kB / 1.347 GB, free: 14.76 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.313e-05/0.4186, allocations: 15.86 kB / 1.347 GB, free: 14.74 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.2e-05/0.4187, allocations: 23.97 kB / 1.347 GB, free: 14.72 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.4189, allocations: 95.77 kB / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.419, allocations: 32.45 kB / 1.347 GB, free: 14.59 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.4192, allocations: 39.91 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.542e-05/0.4192, allocations: 39.78 kB / 1.347 GB, free: 14.51 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.4193, allocations: 8 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.768e-05/0.4193, allocations: 16 kB / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.413e-05/0.4193, allocations: 19.92 kB / 1.347 GB, free: 14.47 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.766e-05/0.4194, allocations: 39.78 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.4196, allocations: 115.7 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.4196, allocations: 4 kB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4196, allocations: 0 / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.4196, allocations: 0 / 1.347 GB, free: 14.31 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.0006568/0.4202, allocations: 326 kB / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.4203, allocations: 12.03 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.003e-05/0.4203, allocations: 192 / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.4203, allocations: 38.75 kB / 1.348 GB, free: 13.9 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.4204, allocations: 8.891 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.4206, allocations: 142.3 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.4206, allocations: 4.375 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.4206, allocations: 8.375 kB / 1.348 GB, free: 13.72 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.421, allocations: 121.8 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.421, allocations: 0 / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.421, allocations: 4 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.421, allocations: 7.984 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000353/0.4214, allocations: 87.92 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006688/0.422, allocations: 339.6 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.4223, allocations: 78.47 kB / 1.349 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.4225, allocations: 52.81 kB / 1.349 GB, free: 12.98 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.4225, allocations: 0 / 1.349 GB, free: 12.98 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.4226, allocations: 38.56 kB / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.4226, allocations: 0 / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006487/0.4232, allocations: 161.7 kB / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.4233, allocations: 59.34 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.4234, allocations: 117.8 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.4234, allocations: 25.7 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.857e-05/0.4235, allocations: 104 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.4236, allocations: 23.72 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.93e-05/0.4236, allocations: 21.72 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4238, allocations: 314.8 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.4239, allocations: 39.95 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.4241, allocations: 43.95 kB / 1.35 GB, free: 11.99 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.4244, allocations: 85.27 kB / 1.35 GB, free: 11.9 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4244, allocations: 0 / 1.35 GB, free: 11.9 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003925/0.4248, allocations: 133.5 kB / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.4248, allocations: 8 kB / 1.35 GB, free: 11.76 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.4248, allocations: 3.938 kB / 1.35 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.4249, allocations: 3.938 kB / 1.35 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.425, allocations: 19.98 kB / 1.35 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.425, allocations: 0 / 1.35 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.877e-05/0.4251, allocations: 15.97 kB / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.4251, allocations: 4 kB / 1.35 GB, free: 11.71 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.0001148/0.4252, allocations: 117.8 kB / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.4253, allocations: 8.328 kB / 1.35 GB, free: 11.58 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.419e-05/0.4253, allocations: 8.375 kB / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4253, allocations: 3.938 kB / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4253, allocations: 0 / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.4253, allocations: 7.938 kB / 1.35 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.4256, allocations: 160.7 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4256, allocations: 0 / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.4257, allocations: 27.97 kB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.4257, allocations: 0 / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.4257, allocations: 0 / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.4257, allocations: 11.88 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4257, allocations: 0 / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004432/0.4262, allocations: 215.4 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.948e-05/0.4262, allocations: 19.88 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.4262, allocations: 0 / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.4263, allocations: 19.92 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.4264, allocations: 3.984 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.4264, allocations: 4 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.988e-05/0.4265, allocations: 91.27 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4265, allocations: 0 / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002335/0.4267, allocations: 23.94 kB / 1.35 GB, free: 10.93 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.0008131/0.4275, allocations: 0.7553 MB / 1.351 GB, free: 10.15 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003912/0.4279, allocations: 87.92 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4279, allocations: 0 / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.4281, allocations: 51.89 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.4285, allocations: 20.59 kB / 1.351 GB, free: 9.996 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.4308, allocations: 1.495 MB / 1.353 GB, free: 8.426 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.4312, allocations: 0.6961 MB / 1.354 GB, free: 7.703 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.33e-05/0.4313, allocations: 11.73 kB / 1.354 GB, free: 7.691 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.882e-05/0.4313, allocations: 23.72 kB / 1.354 GB, free: 7.668 MB / 1.045 GB Notification: Performance of SimCode: time 3.91e-07/0.4313, allocations: 0 / 1.354 GB, free: 7.668 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.4564, allocations: 2.2 MB / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.99, allocations: 5.234 kB / 1.356 GB, free: 5.652 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: 18.956134073028807]