Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.001618/0.001618, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002139/0.002139, allocations: 220.7 kB / 22.25 MB, free: 5.254 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.223/3.223, allocations: 0.49 GB / 0.7951 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Validation.PI,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI",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.002012/0.002012, allocations: 70.05 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.3999, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002625/0.4026, allocations: 1.208 MB / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.4039, allocations: 1.031 MB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.404, allocations: 4 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.308e-05/0.4041, allocations: 27.61 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.4042, allocations: 31.61 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.4044, allocations: 119.9 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003588/0.4048, allocations: 348.4 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003257/0.4051, allocations: 178.4 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.4053, allocations: 139.5 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.4054, allocations: 143.3 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.689e-05/0.4055, allocations: 44 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.313e-05/0.4055, allocations: 44 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.108e-05/0.4056, allocations: 83.77 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.4057, allocations: 123.5 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005288/0.4063, allocations: 0.5292 MB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.4063, allocations: 8 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4063, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.4063, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009003/0.4072, allocations: 0.503 MB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.4072, allocations: 8.031 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.892e-05/0.4073, allocations: 70.72 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.018e-05/0.4074, allocations: 32.75 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.4077, allocations: 212.4 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.4077, allocations: 33.03 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.914e-05/0.4078, allocations: 28.38 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006843/0.4084, allocations: 314.6 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.4085, allocations: 3.938 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.4085, allocations: 12 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.4085, allocations: 8 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007696/0.4093, allocations: 290.4 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.4105, allocations: 0.7535 MB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006645/0.4112, allocations: 261.5 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003616/0.4115, allocations: 133.2 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.4116, allocations: 0 / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.4116, allocations: 42.44 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.4116, allocations: 4 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.001034/0.4126, allocations: 357.3 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.4127, allocations: 59.34 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.4128, allocations: 143.2 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.4129, allocations: 29.7 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.413, allocations: 168.5 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.813e-05/0.4131, allocations: 95.2 kB / 1.333 GB, free: 9.754 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-05/0.4132, allocations: 37.94 kB / 1.333 GB, free: 9.707 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.4133, allocations: 326.8 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.4137, allocations: 96.39 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.414, allocations: 128.1 kB / 1.334 GB, free: 9.152 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005991/0.4146, allocations: 229.1 kB / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4146, allocations: 0 / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000695/0.4153, allocations: 283.3 kB / 1.334 GB, free: 8.641 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.4153, allocations: 8 kB / 1.334 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4153, allocations: 0 / 1.334 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.4153, allocations: 3.938 kB / 1.334 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.4156, allocations: 71.89 kB / 1.334 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.4156, allocations: 4 kB / 1.334 GB, free: 8.555 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/0.4158, allocations: 31.86 kB / 1.334 GB, free: 8.523 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.4158, allocations: 8 kB / 1.334 GB, free: 8.516 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (27): * Single equations (assignments): 27 * 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.0001668/0.416, allocations: 149.8 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.416, allocations: 15.91 kB / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.252e-05/0.4161, allocations: 17.28 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.4161, allocations: 15.92 kB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4161, allocations: 0 / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4161, allocations: 0 / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.4165, allocations: 284.5 kB / 1.335 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.4165, allocations: 3.938 kB / 1.335 GB, free: 7.984 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/0.4168, allocations: 63.89 kB / 1.335 GB, free: 7.922 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.4168, allocations: 3.984 kB / 1.335 GB, free: 7.918 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.4168, allocations: 8 kB / 1.335 GB, free: 7.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4168, allocations: 3.938 kB / 1.335 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4168, allocations: 4 kB / 1.335 GB, free: 7.902 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007313/0.4176, allocations: 371.8 kB / 1.335 GB, free: 7.523 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.4176, allocations: 15.91 kB / 1.335 GB, free: 7.508 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.4176, allocations: 4 kB / 1.335 GB, free: 7.504 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.4178, allocations: 27.91 kB / 1.335 GB, free: 7.477 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.839e-05/0.4179, allocations: 23.91 kB / 1.335 GB, free: 7.453 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.4179, allocations: 4 kB / 1.335 GB, free: 7.449 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.044e-05/0.418, allocations: 108.5 kB / 1.335 GB, free: 7.344 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.418, allocations: 4 kB / 1.335 GB, free: 7.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003134/0.4183, allocations: 59.78 kB / 1.336 GB, free: 7.281 MB / 1.029 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 (25): * Single equations (assignments): 25 * 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.001094/0.4194, allocations: 0.9074 MB / 1.336 GB, free: 6.352 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006571/0.42, allocations: 231.7 kB / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.42, allocations: 0 / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003109/0.4204, allocations: 120 kB / 1.337 GB, free: 6.008 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.4208, allocations: 27.92 kB / 1.337 GB, free: 5.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003563/0.4244, allocations: 2.278 MB / 1.339 GB, free: 3.613 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/0.4245, allocations: 145.7 kB / 1.339 GB, free: 3.449 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001198/0.4246, allocations: 17.42 kB / 1.339 GB, free: 3.434 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.4248, allocations: 75.41 kB / 1.339 GB, free: 3.359 MB / 1.029 GB Notification: Performance of SimCode: time 1.002e-06/0.4248, allocations: 0 / 1.339 GB, free: 3.359 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03418/0.459, allocations: 4.223 MB / 1.343 GB, free: 15.29 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.74, allocations: 11.94 kB / 1.343 GB, free: 15.29 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.615843790990766]