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.001312/0.001312, allocations: 110.4 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.001536/0.001536, allocations: 219.8 kB / 22.25 MB, free: 5.121 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.98 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.238/3.238, allocations: 0.49 GB / 0.7951 GB, free: 33.43 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.002038/0.002038, allocations: 70.66 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3762, allocations: 176.1 MB / 1.326 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002831/0.379, allocations: 1.363 MB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.3805, allocations: 1.034 MB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.3807, allocations: 4 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.899e-05/0.3808, allocations: 35.53 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.3809, allocations: 35.66 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.3811, allocations: 119.9 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004076/0.3815, allocations: 348.4 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003848/0.3819, allocations: 174.4 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.3821, allocations: 131.6 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.3822, allocations: 143.4 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.315e-05/0.3823, allocations: 44 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.483e-05/0.3824, allocations: 48 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.45e-05/0.3824, allocations: 79.78 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.3826, allocations: 151.3 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006077/0.3832, allocations: 0.537 MB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3832, allocations: 3.938 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3832, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.3832, allocations: 0 / 1.33 GB, free: 13.71 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.001007/0.3842, allocations: 0.5069 MB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.3843, allocations: 8.031 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.512e-05/0.3844, allocations: 70.72 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.3844, allocations: 28.75 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.3848, allocations: 214.7 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.3848, allocations: 21.03 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-05/0.3849, allocations: 32.38 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006593/0.3855, allocations: 314.6 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.3856, allocations: 3.938 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.3856, allocations: 16 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.3856, allocations: 11.94 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007219/0.3863, allocations: 286.4 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.3876, allocations: 0.8392 MB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006507/0.3883, allocations: 250.7 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003447/0.3886, allocations: 141.2 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.3887, allocations: 4 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.3887, allocations: 42.44 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.543e-06/0.3887, allocations: 0 / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.001007/0.3897, allocations: 363.8 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.3898, allocations: 55.34 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.3899, allocations: 139.2 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.3899, allocations: 33.7 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.3901, allocations: 168.5 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.182e-05/0.3901, allocations: 83.28 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.332e-05/0.3902, allocations: 37.95 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3904, allocations: 330.8 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.3906, allocations: 92.39 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.391, allocations: 131.4 kB / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005933/0.3915, allocations: 228.4 kB / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3915, allocations: 0 / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006558/0.3922, allocations: 281.3 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3922, allocations: 10.02 kB / 1.335 GB, free: 8.832 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.3922, allocations: 0 / 1.335 GB, free: 8.832 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.3922, allocations: 4 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.3925, allocations: 75.89 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.3926, allocations: 0 / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.3927, allocations: 31.81 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.3927, allocations: 8 kB / 1.335 GB, free: 8.715 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.0001449/0.3929, allocations: 149.8 kB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.3929, allocations: 19.84 kB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.307e-05/0.393, allocations: 17.28 kB / 1.335 GB, free: 8.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.393, allocations: 11.94 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.393, allocations: 3.938 kB / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.393, allocations: 0 / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.3934, allocations: 328.4 kB / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3934, allocations: 0 / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/0.3937, allocations: 59.89 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.3937, allocations: 4 kB / 1.335 GB, free: 8.078 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.3937, allocations: 4 kB / 1.335 GB, free: 8.074 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.3937, allocations: 3.938 kB / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3937, allocations: 4 kB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006871/0.3944, allocations: 374.5 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.3944, allocations: 15.91 kB / 1.336 GB, free: 7.672 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.3944, allocations: 4 kB / 1.336 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.3946, allocations: 27.91 kB / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.984e-05/0.3947, allocations: 19.91 kB / 1.336 GB, free: 7.621 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.3947, allocations: 12 kB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.538e-05/0.3948, allocations: 104.8 kB / 1.336 GB, free: 7.508 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3948, allocations: 4 kB / 1.336 GB, free: 7.504 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002877/0.395, allocations: 55.78 kB / 1.336 GB, free: 7.449 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.00108/0.3961, allocations: 0.9075 MB / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006583/0.3968, allocations: 235.2 kB / 1.337 GB, free: 6.289 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3968, allocations: 0 / 1.337 GB, free: 6.289 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003156/0.3971, allocations: 119.9 kB / 1.337 GB, free: 6.172 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.3975, allocations: 28.05 kB / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/0.4011, allocations: 2.274 MB / 1.339 GB, free: 3.781 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.4015, allocations: 0.7553 MB / 1.34 GB, free: 3 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.717e-05/0.4016, allocations: 17.48 kB / 1.34 GB, free: 2.984 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.4017, allocations: 75.41 kB / 1.34 GB, free: 2.91 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/0.4017, allocations: 0 / 1.34 GB, free: 2.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03218/0.4339, allocations: 3.772 MB / 1.344 GB, free: 15.28 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.94, allocations: 5.016 kB / 1.344 GB, free: 15.28 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.71951153408736]