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.001892/0.001892, 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.002793/0.002793, allocations: 221 kB / 22.25 MB, free: 5.258 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.766 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.362/3.362, allocations: 0.49 GB / 0.7951 GB, free: 35.55 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="me",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="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.002082/0.002082, allocations: 79.03 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3638, allocations: 176.1 MB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.003682/0.3675, allocations: 1.133 MB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001951/0.3694, allocations: 1.003 MB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002448/0.3697, allocations: 4 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.517e-05/0.3698, allocations: 23.67 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.37, allocations: 35.66 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.3701, allocations: 95.91 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003493/0.3705, allocations: 311.4 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003159/0.3708, allocations: 146 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.371, allocations: 115.6 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.3711, allocations: 119.5 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.327e-05/0.3712, allocations: 36 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.314e-05/0.3712, allocations: 36 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.495e-05/0.3713, allocations: 67.77 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.3714, allocations: 103.5 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005022/0.3719, allocations: 450.5 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3719, allocations: 0 / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3719, allocations: 0 / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3719, allocations: 0 / 1.329 GB, free: 13.8 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.001002/0.3729, allocations: 493.8 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/0.373, allocations: 8.031 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.672e-05/0.373, allocations: 58.73 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.988e-05/0.3731, allocations: 32.75 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.3735, allocations: 202.7 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.3735, allocations: 17.03 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.3735, allocations: 28.38 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006275/0.3742, allocations: 262.6 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.3742, allocations: 3.938 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.3742, allocations: 12 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.3742, allocations: 8 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006461/0.3749, allocations: 242.4 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.376, allocations: 0.64 MB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/0.3766, allocations: 211.9 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.3769, allocations: 112.8 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.3769, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.026e-05/0.377, allocations: 34.56 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.422e-06/0.377, allocations: 0 / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0009111/0.3779, allocations: 319.4 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.3779, allocations: 51.41 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.3781, allocations: 139.1 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.3781, allocations: 33.7 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.3782, allocations: 156.6 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/0.3783, allocations: 67.42 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.972e-05/0.3784, allocations: 45.58 kB / 1.332 GB, free: 10.49 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3785, allocations: 326.8 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.3788, allocations: 83.92 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.3791, allocations: 107.7 kB / 1.333 GB, free: 9.973 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005195/0.3796, allocations: 187 kB / 1.333 GB, free: 9.785 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3796, allocations: 0 / 1.333 GB, free: 9.785 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006321/0.3802, allocations: 238.8 kB / 1.333 GB, free: 9.547 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.3802, allocations: 8 kB / 1.333 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3802, allocations: 0 / 1.333 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3802, allocations: 0 / 1.333 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.3805, allocations: 59.84 kB / 1.333 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3805, allocations: 12 kB / 1.333 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.3807, allocations: 23.88 kB / 1.333 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.3807, allocations: 8 kB / 1.333 GB, free: 9.438 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.0001487/0.3808, allocations: 137.8 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.3809, allocations: 15.91 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.9e-05/0.3809, allocations: 21.06 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.381, allocations: 7.938 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.381, allocations: 0 / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.381, allocations: 0 / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004028/0.3814, allocations: 268.5 kB / 1.334 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3814, allocations: 0 / 1.334 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.3816, allocations: 47.91 kB / 1.334 GB, free: 8.891 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3816, allocations: 0 / 1.334 GB, free: 8.891 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.3816, allocations: 8 kB / 1.334 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.3816, allocations: 7.922 kB / 1.334 GB, free: 8.875 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3816, allocations: 0 / 1.334 GB, free: 8.875 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006646/0.3823, allocations: 337.3 kB / 1.334 GB, free: 8.531 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.3823, allocations: 11.91 kB / 1.334 GB, free: 8.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.3824, allocations: 4 kB / 1.334 GB, free: 8.516 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.3825, allocations: 31.91 kB / 1.334 GB, free: 8.484 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/0.3826, allocations: 15.97 kB / 1.334 GB, free: 8.469 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.3826, allocations: 4 kB / 1.334 GB, free: 8.465 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.937e-05/0.3827, allocations: 104.8 kB / 1.334 GB, free: 8.363 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3827, allocations: 4 kB / 1.334 GB, free: 8.359 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002815/0.383, allocations: 51.78 kB / 1.335 GB, free: 8.309 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.0009967/0.384, allocations: 0.8762 MB / 1.335 GB, free: 7.406 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005829/0.3845, allocations: 197.8 kB / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.3845, allocations: 4 kB / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.3848, allocations: 99.86 kB / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.3852, allocations: 29.92 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.3884, allocations: 2.1 MB / 1.338 GB, free: 4.898 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.3885, allocations: 133.5 kB / 1.338 GB, free: 4.754 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.307e-05/0.3886, allocations: 17.42 kB / 1.338 GB, free: 4.734 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.3887, allocations: 67.42 kB / 1.338 GB, free: 4.668 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.3887, allocations: 0 / 1.338 GB, free: 4.668 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03154/0.4203, allocations: 4.02 MB / 1.342 GB, free: 0.8086 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.62, allocations: 16.02 kB / 1.342 GB, free: 0.8008 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.64537013199879]