Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.001484/0.001484, allocations: 98.33 kB / 19.73 MB, free: 2.23 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.001401/0.001401, allocations: 212.9 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.273/3.273, allocations: 0.49 GB / 0.7959 GB, free: 33.4 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.PID,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID",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.00201/0.00201, allocations: 60.97 kB / 1.155 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3982, allocations: 176.1 MB / 1.327 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.003756/0.4019, allocations: 1.26 MB / 1.328 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.4039, allocations: 1.015 MB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.4041, allocations: 4 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.4042, allocations: 23.67 kB / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.4043, allocations: 39.58 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.4046, allocations: 91.92 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004425/0.405, allocations: 307.4 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003767/0.4054, allocations: 150 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.4056, allocations: 111.6 kB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.4058, allocations: 119.4 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.815e-05/0.4058, allocations: 36 kB / 1.33 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.836e-05/0.4059, allocations: 36 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.438e-05/0.406, allocations: 71.77 kB / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.4061, allocations: 127.4 kB / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006257/0.4068, allocations: 446.5 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4068, allocations: 0 / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.153e-06/0.4068, allocations: 0 / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.4068, allocations: 4 kB / 1.33 GB, free: 14.14 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.00111/0.4079, allocations: 481.8 kB / 1.331 GB, free: 13.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.4079, allocations: 12.03 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.03e-05/0.408, allocations: 4.844 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.448e-05/0.4081, allocations: 62.73 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.13e-05/0.4081, allocations: 36.73 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.4085, allocations: 202.8 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.4086, allocations: 17.03 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.463e-05/0.4086, allocations: 28.36 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008371/0.4095, allocations: 270.3 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.4095, allocations: 0 / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/0.4095, allocations: 12 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.4095, allocations: 8 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009617/0.4105, allocations: 230.5 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.4121, allocations: 0.7219 MB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005862/0.4127, allocations: 210.6 kB / 1.333 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000314/0.413, allocations: 104.8 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.853e-05/0.4131, allocations: 0 / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.4131, allocations: 38.56 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 3.467e-06/0.4131, allocations: 4 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.001226/0.4143, allocations: 316.6 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.4144, allocations: 51.41 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.4146, allocations: 155.4 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.4146, allocations: 29.64 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.4148, allocations: 152.6 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.895e-05/0.4149, allocations: 67.42 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.415, allocations: 33.72 kB / 1.334 GB, free: 10.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002305/0.4152, allocations: 330.8 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.4155, allocations: 79.92 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.4159, allocations: 105.6 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005631/0.4164, allocations: 194.7 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4164, allocations: 0 / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006524/0.4171, allocations: 233.5 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.4171, allocations: 8.031 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4171, allocations: 0 / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.4171, allocations: 7.938 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.4174, allocations: 51.89 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.4174, allocations: 4 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.4176, allocations: 31.86 kB / 1.335 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.4176, allocations: 4 kB / 1.335 GB, free: 9.707 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (21): * Single equations (assignments): 21 * 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.0001979/0.4178, allocations: 145.8 kB / 1.335 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.4178, allocations: 11.91 kB / 1.335 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.176e-05/0.4179, allocations: 21.12 kB / 1.335 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.4179, allocations: 3.938 kB / 1.335 GB, free: 9.512 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.4179, allocations: 4 kB / 1.335 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.4179, allocations: 3.984 kB / 1.335 GB, free: 9.504 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.4183, allocations: 276.5 kB / 1.335 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.4183, allocations: 0 / 1.335 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.4186, allocations: 55.95 kB / 1.335 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4186, allocations: 0 / 1.335 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.4186, allocations: 4 kB / 1.335 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/0.4186, allocations: 7.875 kB / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4186, allocations: 0 / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006891/0.4193, allocations: 337 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.322e-05/0.4193, allocations: 15.91 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.4193, allocations: 0 / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.4195, allocations: 27.91 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.4196, allocations: 15.97 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.4196, allocations: 7.938 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001016/0.4197, allocations: 117.5 kB / 1.336 GB, free: 8.602 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4197, allocations: 0 / 1.336 GB, free: 8.602 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002851/0.42, allocations: 47.83 kB / 1.336 GB, free: 8.555 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 (20): * Single equations (assignments): 20 * 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.001033/0.421, allocations: 0.874 MB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006318/0.4216, allocations: 197.6 kB / 1.337 GB, free: 7.465 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.4216, allocations: 4.062 kB / 1.337 GB, free: 7.461 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.4219, allocations: 103.9 kB / 1.337 GB, free: 7.359 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.4224, allocations: 27.97 kB / 1.337 GB, free: 7.332 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003435/0.4258, allocations: 2.112 MB / 1.339 GB, free: 5.137 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.4262, allocations: 0.7434 MB / 1.34 GB, free: 4.367 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.635e-05/0.4263, allocations: 21.41 kB / 1.34 GB, free: 4.348 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.4264, allocations: 59.42 kB / 1.34 GB, free: 4.289 MB / 1.029 GB Notification: Performance of SimCode: time 4.7e-07/0.4264, allocations: 0 / 1.34 GB, free: 4.289 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02531/0.4517, allocations: 3.551 MB / 1.343 GB, free: 0.9062 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.14, allocations: 7.578 kB / 1.343 GB, free: 0.9062 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.997807261010166]