Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00194/0.00194, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002966/0.002966, allocations: 215.6 kB / 22.24 MB, free: 5.262 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.568/1.568, allocations: 230.6 MB / 256 MB, free: 7.785 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.522/3.522, allocations: 0.5107 GB / 0.8158 GB, free: 17.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.Validation.PID,fileNamePrefix="Buildings_latest_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_latest_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.002138/0.002138, allocations: 77.39 kB / 1.186 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3778, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.00251/0.3803, allocations: 1.143 MB / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.3816, allocations: 1.003 MB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.999e-05/0.3817, allocations: 4 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.828e-05/0.3818, allocations: 27.66 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.3819, allocations: 35.59 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.3821, allocations: 99.91 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00033/0.3824, allocations: 299.4 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002673/0.3827, allocations: 134 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.3828, allocations: 119.6 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.3829, allocations: 107.5 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.251e-05/0.383, allocations: 39.98 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.756e-05/0.383, allocations: 36 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.3831, allocations: 59.84 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.3832, allocations: 111.5 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004352/0.3836, allocations: 446.5 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3836, allocations: 0 / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3836, allocations: 3.938 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3836, allocations: 0 / 1.367 GB, free: 10.44 MB / 1.061 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.000843/0.3845, allocations: 487.9 kB / 1.367 GB, free: 9.926 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3845, allocations: 8.031 kB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.97e-05/0.3846, allocations: 62.72 kB / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.3847, allocations: 28.8 kB / 1.368 GB, free: 9.82 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.385, allocations: 202.8 kB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.385, allocations: 17.03 kB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.385, allocations: 28.38 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005926/0.3856, allocations: 262.6 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.3857, allocations: 3.938 kB / 1.368 GB, free: 9.293 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.3857, allocations: 12 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.3857, allocations: 8 kB / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006905/0.3864, allocations: 238.5 kB / 1.368 GB, free: 9.035 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.3874, allocations: 0.6478 MB / 1.369 GB, free: 8.344 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005741/0.388, allocations: 210.7 kB / 1.369 GB, free: 8.129 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.3883, allocations: 104.8 kB / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.3884, allocations: 4 kB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.3884, allocations: 34.91 kB / 1.369 GB, free: 7.977 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.3884, allocations: 0 / 1.369 GB, free: 7.977 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0009525/0.3893, allocations: 322.7 kB / 1.37 GB, free: 7.656 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.3894, allocations: 51.41 kB / 1.37 GB, free: 7.594 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.3895, allocations: 138.4 kB / 1.37 GB, free: 7.449 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.3895, allocations: 29.7 kB / 1.37 GB, free: 7.414 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.3896, allocations: 164.6 kB / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/0.3897, allocations: 71.38 kB / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.751e-05/0.3898, allocations: 37.7 kB / 1.37 GB, free: 7.137 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3899, allocations: 326.8 kB / 1.37 GB, free: 6.809 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/0.3902, allocations: 75.94 kB / 1.37 GB, free: 6.734 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.3905, allocations: 106.8 kB / 1.37 GB, free: 6.625 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005462/0.3911, allocations: 191.6 kB / 1.371 GB, free: 6.434 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3911, allocations: 7.984 kB / 1.371 GB, free: 6.426 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006361/0.3917, allocations: 229.4 kB / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3917, allocations: 4 kB / 1.371 GB, free: 6.191 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3917, allocations: 4 kB / 1.371 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3917, allocations: 0 / 1.371 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.392, allocations: 63.83 kB / 1.371 GB, free: 6.125 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.392, allocations: 0 / 1.371 GB, free: 6.125 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.3922, allocations: 35.89 kB / 1.371 GB, free: 6.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.3922, allocations: 4 kB / 1.371 GB, free: 6.086 MB / 1.061 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.0001412/0.3923, allocations: 141.8 kB / 1.371 GB, free: 5.938 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.3924, allocations: 15.91 kB / 1.371 GB, free: 5.922 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.3924, allocations: 21.11 kB / 1.371 GB, free: 5.898 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3924, allocations: 7.938 kB / 1.371 GB, free: 5.891 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3924, allocations: 0 / 1.371 GB, free: 5.891 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3924, allocations: 0 / 1.371 GB, free: 5.891 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/0.3927, allocations: 256.5 kB / 1.371 GB, free: 5.598 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3927, allocations: 7.938 kB / 1.371 GB, free: 5.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.393, allocations: 47.95 kB / 1.371 GB, free: 5.543 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.393, allocations: 0 / 1.371 GB, free: 5.543 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.393, allocations: 4 kB / 1.371 GB, free: 5.539 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.393, allocations: 11.88 kB / 1.371 GB, free: 5.527 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.393, allocations: 4 kB / 1.371 GB, free: 5.523 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006787/0.3937, allocations: 329 kB / 1.372 GB, free: 5.188 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.3937, allocations: 15.91 kB / 1.372 GB, free: 5.172 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.3937, allocations: 3.984 kB / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.3939, allocations: 23.92 kB / 1.372 GB, free: 5.145 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.394, allocations: 15.97 kB / 1.372 GB, free: 5.129 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.394, allocations: 4 kB / 1.372 GB, free: 5.125 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.956e-05/0.3941, allocations: 109.9 kB / 1.372 GB, free: 5.02 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3941, allocations: 4 kB / 1.372 GB, free: 5.016 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002874/0.3944, allocations: 55.78 kB / 1.372 GB, free: 4.961 MB / 1.061 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.001009/0.3954, allocations: 0.8631 MB / 1.373 GB, free: 4.074 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006201/0.396, allocations: 199.8 kB / 1.373 GB, free: 3.879 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.396, allocations: 3.938 kB / 1.373 GB, free: 3.875 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.3963, allocations: 103.8 kB / 1.373 GB, free: 3.773 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.3967, allocations: 31.98 kB / 1.373 GB, free: 3.742 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/0.4, allocations: 2.109 MB / 1.375 GB, free: 1.551 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.4001, allocations: 129.6 kB / 1.375 GB, free: 1.41 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.487e-05/0.4002, allocations: 13.42 kB / 1.375 GB, free: 1.395 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.4003, allocations: 71.41 kB / 1.375 GB, free: 1.324 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/0.4003, allocations: 0 / 1.375 GB, free: 1.324 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03574/0.4361, allocations: 3.924 MB / 1.379 GB, free: 13.59 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.83, allocations: 7.922 kB / 1.379 GB, free: 13.58 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.186997529119253]