Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001308/0.001308, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001429/0.001429, allocations: 216.3 kB / 23.03 MB, free: 4.922 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.266/3.266, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 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.PI,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI",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.002054/0.002054, allocations: 66.84 kB / 1.17 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3685, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002766/0.3712, allocations: 1.207 MB / 1.346 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.3726, allocations: 1.027 MB / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.3728, allocations: 4 kB / 1.347 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.086e-05/0.3728, allocations: 31.59 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.373, allocations: 39.66 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.3732, allocations: 119.9 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003848/0.3736, allocations: 348.4 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003605/0.374, allocations: 174.2 kB / 1.348 GB, free: 12.97 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.3741, allocations: 131.6 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.3743, allocations: 143.3 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.994e-05/0.3744, allocations: 44 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.131e-05/0.3744, allocations: 48 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.563e-05/0.3745, allocations: 79.83 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.3746, allocations: 119.5 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005425/0.3752, allocations: 0.5448 MB / 1.349 GB, free: 11.87 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.3752, allocations: 0 / 1.349 GB, free: 11.87 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3752, allocations: 0 / 1.349 GB, free: 11.87 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.3752, allocations: 0 / 1.349 GB, free: 11.87 MB / 1.045 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.001012/0.3762, allocations: 0.5056 MB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3762, allocations: 12.03 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.288e-05/0.3763, allocations: 8.844 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.561e-05/0.3764, allocations: 70.72 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.279e-05/0.3764, allocations: 28.75 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.3768, allocations: 214.7 kB / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.3768, allocations: 28.97 kB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.175e-05/0.3769, allocations: 28.38 kB / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007084/0.3776, allocations: 318.3 kB / 1.35 GB, free: 10.6 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3776, allocations: 4 kB / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/0.3776, allocations: 12 kB / 1.35 GB, free: 10.58 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.3776, allocations: 8 kB / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007276/0.3783, allocations: 282.4 kB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.3795, allocations: 0.7574 MB / 1.351 GB, free: 9.496 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006383/0.3802, allocations: 250.7 kB / 1.352 GB, free: 9.242 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000341/0.3805, allocations: 133.2 kB / 1.352 GB, free: 9.109 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.3805, allocations: 4 kB / 1.352 GB, free: 9.105 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.3806, allocations: 42.44 kB / 1.352 GB, free: 9.055 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.3806, allocations: 4 kB / 1.352 GB, free: 9.051 MB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.001013/0.3816, allocations: 361.3 kB / 1.352 GB, free: 8.691 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.3816, allocations: 59.39 kB / 1.352 GB, free: 8.621 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.3818, allocations: 140 kB / 1.352 GB, free: 8.477 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.3818, allocations: 29.7 kB / 1.352 GB, free: 8.441 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.3819, allocations: 172.5 kB / 1.353 GB, free: 8.27 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.603e-05/0.382, allocations: 83.28 kB / 1.353 GB, free: 8.188 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.931e-05/0.3821, allocations: 41.89 kB / 1.353 GB, free: 8.137 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3822, allocations: 334.8 kB / 1.353 GB, free: 7.801 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.3825, allocations: 88.41 kB / 1.353 GB, free: 7.715 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.3828, allocations: 128.6 kB / 1.353 GB, free: 7.582 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005956/0.3834, allocations: 231.3 kB / 1.353 GB, free: 7.348 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.3834, allocations: 4 kB / 1.353 GB, free: 7.344 MB / 1.045 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007209/0.3841, allocations: 285.3 kB / 1.354 GB, free: 7.059 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3841, allocations: 7.938 kB / 1.354 GB, free: 7.051 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.3842, allocations: 4 kB / 1.354 GB, free: 7.047 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.3842, allocations: 3.938 kB / 1.354 GB, free: 7.043 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/0.3845, allocations: 59.95 kB / 1.354 GB, free: 6.984 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3845, allocations: 0 / 1.354 GB, free: 6.984 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.3847, allocations: 35.81 kB / 1.354 GB, free: 6.949 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.3847, allocations: 16.05 kB / 1.354 GB, free: 6.934 MB / 1.045 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.0001428/0.3848, allocations: 145.8 kB / 1.354 GB, free: 6.781 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.3849, allocations: 11.91 kB / 1.354 GB, free: 6.77 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.271e-05/0.3849, allocations: 25.28 kB / 1.354 GB, free: 6.742 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.3849, allocations: 7.938 kB / 1.354 GB, free: 6.734 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3849, allocations: 0 / 1.354 GB, free: 6.734 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3849, allocations: 3.984 kB / 1.354 GB, free: 6.73 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/0.3853, allocations: 284.5 kB / 1.354 GB, free: 6.41 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3853, allocations: 4 kB / 1.354 GB, free: 6.406 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.3856, allocations: 67.89 kB / 1.354 GB, free: 6.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3856, allocations: 3.938 kB / 1.354 GB, free: 6.336 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.3856, allocations: 0 / 1.354 GB, free: 6.336 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.3856, allocations: 7.938 kB / 1.354 GB, free: 6.328 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3856, allocations: 0 / 1.354 GB, free: 6.328 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007646/0.3864, allocations: 379.1 kB / 1.355 GB, free: 5.941 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.001e-05/0.3864, allocations: 15.84 kB / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.3864, allocations: 8 kB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.3866, allocations: 19.91 kB / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.496e-05/0.3867, allocations: 19.97 kB / 1.355 GB, free: 5.879 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.3867, allocations: 11.98 kB / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.946e-05/0.3868, allocations: 108.8 kB / 1.355 GB, free: 5.762 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3868, allocations: 0 / 1.355 GB, free: 5.762 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003014/0.3871, allocations: 63.73 kB / 1.355 GB, free: 5.699 MB / 1.045 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.00111/0.3882, allocations: 0.9079 MB / 1.356 GB, free: 4.766 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006986/0.3889, allocations: 227.7 kB / 1.356 GB, free: 4.543 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3889, allocations: 0 / 1.356 GB, free: 4.543 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.3892, allocations: 119.9 kB / 1.356 GB, free: 4.426 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.3897, allocations: 34.09 kB / 1.356 GB, free: 4.395 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003497/0.3932, allocations: 2.272 MB / 1.358 GB, free: 2.027 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.3933, allocations: 149.7 kB / 1.359 GB, free: 1.859 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.3934, allocations: 17.48 kB / 1.359 GB, free: 1.844 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.3936, allocations: 71.42 kB / 1.359 GB, free: 1.773 MB / 1.045 GB Notification: Performance of SimCode: time 4.01e-07/0.3936, allocations: 0 / 1.359 GB, free: 1.773 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02569/0.4193, allocations: 3.838 MB / 1.362 GB, free: 14.14 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.31, allocations: 10.84 kB / 1.362 GB, free: 14.14 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.255478258011863]