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.001805/0.001805, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002287/0.002287, allocations: 218.7 kB / 22.26 MB, free: 5.125 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.992 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.337/3.337, allocations: 0.49 GB / 0.7951 GB, free: 33.3 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.00207/0.00207, allocations: 67.61 kB / 1.154 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3599, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002976/0.3629, allocations: 1.267 MB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.3644, allocations: 1.003 MB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.3646, allocations: 4 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.113e-05/0.3646, allocations: 31.59 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.3648, allocations: 35.66 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.3649, allocations: 99.91 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003422/0.3653, allocations: 303.4 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000304/0.3656, allocations: 146 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.3657, allocations: 115.6 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.3659, allocations: 119.4 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.047e-05/0.366, allocations: 36 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.083e-05/0.366, allocations: 36 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.816e-05/0.3661, allocations: 67.78 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.3662, allocations: 131.4 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004803/0.3667, allocations: 446.5 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3667, allocations: 0 / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3667, allocations: 0 / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.3667, allocations: 0 / 1.33 GB, free: 14.1 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.000915/0.3676, allocations: 481.8 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3676, allocations: 12.03 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.174e-05/0.3677, allocations: 70.66 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.337e-05/0.3678, allocations: 28.75 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.3681, allocations: 208 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/0.3681, allocations: 21.03 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.3682, allocations: 24.38 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006129/0.3688, allocations: 270.6 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3688, allocations: 3.938 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.3688, allocations: 12 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.078e-06/0.3688, allocations: 4 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006694/0.3695, allocations: 234.5 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.3707, allocations: 0.7141 MB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000578/0.3713, allocations: 210.7 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.3716, allocations: 100.8 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.3716, allocations: 4 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.3716, allocations: 38.56 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.152e-06/0.3716, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0009368/0.3726, allocations: 319.2 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.3726, allocations: 55.41 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.3728, allocations: 147.3 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.3728, allocations: 25.7 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.3729, allocations: 156.6 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.3729, allocations: 63.44 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.628e-05/0.373, allocations: 37.7 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3732, allocations: 330.7 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.3734, allocations: 79.94 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.3737, allocations: 103.7 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005171/0.3742, allocations: 203 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3742, allocations: 0 / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005928/0.3748, allocations: 235 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.3748, allocations: 4 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3748, allocations: 0 / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.3749, allocations: 3.984 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.3751, allocations: 59.83 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.049e-05/0.3751, allocations: 0 / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.3753, allocations: 31.86 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.3753, allocations: 12.03 kB / 1.334 GB, free: 9.672 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.0001637/0.3755, allocations: 137.8 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.3755, allocations: 15.91 kB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.409e-05/0.3756, allocations: 25.11 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.3756, allocations: 3.938 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3756, allocations: 0 / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3756, allocations: 0 / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.376, allocations: 284.5 kB / 1.334 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.376, allocations: 0 / 1.334 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.3762, allocations: 47.97 kB / 1.334 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3762, allocations: 0 / 1.334 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.3762, allocations: 8 kB / 1.334 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.3762, allocations: 7.938 kB / 1.334 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3762, allocations: 0 / 1.334 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000688/0.3769, allocations: 345.1 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.279e-05/0.3769, allocations: 11.91 kB / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.377, allocations: 0 / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.3771, allocations: 27.91 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.3772, allocations: 15.97 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.3772, allocations: 7.938 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.556e-05/0.3773, allocations: 113.3 kB / 1.335 GB, free: 8.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3773, allocations: 0 / 1.335 GB, free: 8.57 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002774/0.3776, allocations: 47.83 kB / 1.335 GB, free: 8.523 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.001039/0.3786, allocations: 0.8782 MB / 1.336 GB, free: 7.621 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006047/0.3792, allocations: 195.8 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3792, allocations: 0 / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.3795, allocations: 99.86 kB / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.3799, allocations: 29.64 kB / 1.336 GB, free: 7.305 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/0.3832, allocations: 2.111 MB / 1.338 GB, free: 5.109 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.3836, allocations: 0.7434 MB / 1.339 GB, free: 4.34 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.528e-05/0.3837, allocations: 13.44 kB / 1.339 GB, free: 4.328 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.3838, allocations: 63.41 kB / 1.339 GB, free: 4.266 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.3838, allocations: 0 / 1.339 GB, free: 4.266 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.4157, allocations: 3.518 MB / 1.342 GB, free: 0.8984 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.88, allocations: 16.62 kB / 1.342 GB, free: 0.8906 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.928603738779202]