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.001789/0.001789, allocations: 111 kB / 16.46 MB, free: 6.453 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.002273/0.002273, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.48/1.48, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.254/3.254, allocations: 0.49 GB / 0.7916 GB, free: 33.39 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.0021/0.0021, allocations: 73.81 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3789, allocations: 176.1 MB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.003133/0.382, allocations: 1.357 MB / 1.322 GB, free: 1.996 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.3836, allocations: 1.03 MB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.3837, allocations: 4 kB / 1.323 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.077e-05/0.3838, allocations: 31.59 kB / 1.323 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.384, allocations: 31.67 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.3842, allocations: 119.9 kB / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004043/0.3846, allocations: 348.5 kB / 1.324 GB, free: 436 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003708/0.3849, allocations: 178.2 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.3851, allocations: 131.6 kB / 1.324 GB, free: 124 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.3853, allocations: 131.5 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.196e-05/0.3854, allocations: 44 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.3855, allocations: 48 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.857e-05/0.3856, allocations: 83.77 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.3858, allocations: 155.2 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006095/0.3864, allocations: 0.5369 MB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3864, allocations: 4 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3864, allocations: 0 / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.3864, allocations: 0 / 1.325 GB, free: 15.12 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.001174/0.3876, allocations: 0.577 MB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.3876, allocations: 15.98 kB / 1.326 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.3877, allocations: 66.72 kB / 1.326 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.459e-05/0.3878, allocations: 32.75 kB / 1.326 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.3882, allocations: 279.2 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.3882, allocations: 29.03 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.815e-05/0.3883, allocations: 28.38 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007573/0.389, allocations: 318.5 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.389, allocations: 7.938 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.3891, allocations: 12 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.3891, allocations: 8 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008342/0.3899, allocations: 282.4 kB / 1.327 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.3913, allocations: 0.874 MB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007041/0.392, allocations: 268.3 kB / 1.328 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003649/0.3924, allocations: 130.5 kB / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.3924, allocations: 0 / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.3925, allocations: 42.56 kB / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.644e-06/0.3925, allocations: 0 / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.001111/0.3936, allocations: 359.7 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.3936, allocations: 63.34 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.3938, allocations: 135.7 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.3938, allocations: 33.7 kB / 1.328 GB, free: 11.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.3939, allocations: 168.5 kB / 1.329 GB, free: 11.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.248e-05/0.394, allocations: 87.2 kB / 1.329 GB, free: 11.15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.3941, allocations: 45.94 kB / 1.329 GB, free: 11.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3943, allocations: 322.8 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/0.3946, allocations: 100.4 kB / 1.329 GB, free: 10.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.3949, allocations: 128.4 kB / 1.329 GB, free: 10.54 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006474/0.3956, allocations: 232.4 kB / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3956, allocations: 0 / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007839/0.3964, allocations: 281.3 kB / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3964, allocations: 4 kB / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3964, allocations: 0 / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3964, allocations: 4 kB / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.3967, allocations: 67.89 kB / 1.33 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3967, allocations: 0 / 1.33 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.3969, allocations: 35.92 kB / 1.33 GB, free: 9.914 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.3969, allocations: 11.94 kB / 1.33 GB, free: 9.902 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.0001637/0.3971, allocations: 148 kB / 1.33 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.3971, allocations: 15.91 kB / 1.33 GB, free: 9.734 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.1e-05/0.3972, allocations: 25.17 kB / 1.33 GB, free: 9.707 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.3972, allocations: 7.938 kB / 1.33 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.3972, allocations: 3.938 kB / 1.33 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3972, allocations: 4 kB / 1.33 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004494/0.3977, allocations: 349.3 kB / 1.33 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.3977, allocations: 0 / 1.33 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/0.398, allocations: 63.89 kB / 1.33 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.398, allocations: 0 / 1.33 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.398, allocations: 8 kB / 1.33 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.398, allocations: 3.938 kB / 1.33 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.398, allocations: 4 kB / 1.33 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000859/0.3989, allocations: 367.2 kB / 1.331 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.017e-05/0.399, allocations: 100.9 kB / 1.331 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.399, allocations: 4 kB / 1.331 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.3992, allocations: 31.91 kB / 1.331 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.3993, allocations: 15.98 kB / 1.331 GB, free: 8.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.3993, allocations: 4 kB / 1.331 GB, free: 8.676 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.13e-05/0.3994, allocations: 108.8 kB / 1.331 GB, free: 8.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3994, allocations: 0 / 1.331 GB, free: 8.57 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003353/0.3997, allocations: 59.78 kB / 1.331 GB, free: 8.512 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.001197/0.4009, allocations: 0.9033 MB / 1.332 GB, free: 7.586 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000757/0.4017, allocations: 239.7 kB / 1.332 GB, free: 7.352 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4017, allocations: 0 / 1.332 GB, free: 7.352 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000337/0.402, allocations: 115.9 kB / 1.332 GB, free: 7.238 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.4024, allocations: 32.05 kB / 1.332 GB, free: 7.207 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004077/0.4065, allocations: 2.277 MB / 1.335 GB, free: 4.836 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.407, allocations: 0.7552 MB / 1.335 GB, free: 4.055 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001133/0.4071, allocations: 17.55 kB / 1.335 GB, free: 4.039 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.4072, allocations: 67.42 kB / 1.335 GB, free: 3.973 MB / 1.029 GB Notification: Performance of SimCode: time 9.61e-07/0.4072, allocations: 4 kB / 1.335 GB, free: 3.969 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03085/0.4381, allocations: 3.58 MB / 1.339 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.353/8.791, allocations: 11.34 kB / 1.339 GB, free: 0.543 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.57253972091712]