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.001476/0.001476, 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.001501/0.001501, 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.488/1.488, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.36/3.36, allocations: 0.505 GB / 0.8066 GB, free: 23.09 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="me",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="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: 64.98 kB / 1.172 GB, free: 17.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3631, allocations: 180.2 MB / 1.348 GB, free: 9.969 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.003216/0.3663, allocations: 1.353 MB / 1.349 GB, free: 8.613 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001954/0.3683, allocations: 1.034 MB / 1.35 GB, free: 7.566 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.3685, allocations: 4 kB / 1.35 GB, free: 7.562 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.3687, allocations: 31.59 kB / 1.35 GB, free: 7.531 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.3688, allocations: 31.67 kB / 1.35 GB, free: 7.5 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.3691, allocations: 115.9 kB / 1.35 GB, free: 7.387 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004379/0.3695, allocations: 352.6 kB / 1.351 GB, free: 7.039 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003896/0.3699, allocations: 178.2 kB / 1.351 GB, free: 6.867 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.3701, allocations: 131.5 kB / 1.351 GB, free: 6.738 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.3703, allocations: 139.4 kB / 1.351 GB, free: 6.602 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.024e-05/0.3703, allocations: 44 kB / 1.351 GB, free: 6.559 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.726e-05/0.3704, allocations: 44 kB / 1.351 GB, free: 6.516 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.011e-05/0.3704, allocations: 79.77 kB / 1.351 GB, free: 6.438 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.3706, allocations: 159.3 kB / 1.351 GB, free: 6.281 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006066/0.3712, allocations: 0.537 MB / 1.352 GB, free: 5.742 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3712, allocations: 0 / 1.352 GB, free: 5.742 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3712, allocations: 4 kB / 1.352 GB, free: 5.738 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.3712, allocations: 0 / 1.352 GB, free: 5.738 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.001021/0.3722, allocations: 0.5731 MB / 1.352 GB, free: 5.113 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.3723, allocations: 15.98 kB / 1.352 GB, free: 5.098 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.464e-05/0.3724, allocations: 74.66 kB / 1.353 GB, free: 5.016 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.578e-05/0.3724, allocations: 32.75 kB / 1.353 GB, free: 4.984 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.3728, allocations: 278.6 kB / 1.353 GB, free: 4.676 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.3728, allocations: 29.03 kB / 1.353 GB, free: 4.648 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.3729, allocations: 28.38 kB / 1.353 GB, free: 4.621 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007078/0.3736, allocations: 318.6 kB / 1.353 GB, free: 4.301 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3736, allocations: 3.938 kB / 1.353 GB, free: 4.297 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.3736, allocations: 16 kB / 1.353 GB, free: 4.281 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.3736, allocations: 11.98 kB / 1.353 GB, free: 4.27 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007907/0.3744, allocations: 278.4 kB / 1.353 GB, free: 4 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.3757, allocations: 0.8741 MB / 1.354 GB, free: 3.074 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006694/0.3764, allocations: 258.7 kB / 1.355 GB, free: 2.812 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003691/0.3768, allocations: 132.7 kB / 1.355 GB, free: 2.68 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.3768, allocations: 4 kB / 1.355 GB, free: 2.676 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.3768, allocations: 38.56 kB / 1.355 GB, free: 2.629 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 1.774e-06/0.3768, allocations: 0 / 1.355 GB, free: 2.629 MB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.001072/0.3779, allocations: 368.1 kB / 1.355 GB, free: 2.266 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.378, allocations: 63.34 kB / 1.355 GB, free: 2.191 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.3781, allocations: 135.7 kB / 1.355 GB, free: 2.051 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.3781, allocations: 29.7 kB / 1.355 GB, free: 2.016 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.3782, allocations: 172.5 kB / 1.355 GB, free: 1.844 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.331e-05/0.3783, allocations: 87.27 kB / 1.356 GB, free: 1.758 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.793e-05/0.3784, allocations: 37.95 kB / 1.356 GB, free: 1.711 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3785, allocations: 330.8 kB / 1.356 GB, free: 1.379 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/0.3789, allocations: 92.41 kB / 1.356 GB, free: 1.289 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003302/0.3792, allocations: 123.4 kB / 1.356 GB, free: 1.16 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006293/0.3798, allocations: 234.6 kB / 1.356 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3798, allocations: 0 / 1.356 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007392/0.3806, allocations: 285.3 kB / 1.357 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3806, allocations: 8 kB / 1.357 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3806, allocations: 0 / 1.357 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3806, allocations: 0 / 1.357 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.3809, allocations: 67.83 kB / 1.357 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3809, allocations: 4 kB / 1.357 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.3811, allocations: 35.92 kB / 1.357 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.3811, allocations: 8 kB / 1.357 GB, free: 0.5156 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.0001594/0.3813, allocations: 141.8 kB / 1.357 GB, free: 376 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.3813, allocations: 15.91 kB / 1.357 GB, free: 360 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.426e-05/0.3814, allocations: 21.19 kB / 1.357 GB, free: 332 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3814, allocations: 11.88 kB / 1.357 GB, free: 320 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3814, allocations: 0 / 1.357 GB, free: 320 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.3814, allocations: 7.969 kB / 1.357 GB, free: 312 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004526/0.3818, allocations: 357.3 kB / 1.357 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3818, allocations: 4 kB / 1.357 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/0.3821, allocations: 55.95 kB / 1.357 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3821, allocations: 0 / 1.357 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.3822, allocations: 4 kB / 1.357 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.3822, allocations: 7.938 kB / 1.357 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3822, allocations: 3.938 kB / 1.357 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007806/0.3829, allocations: 375.3 kB / 1.358 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.834e-05/0.383, allocations: 92.95 kB / 1.358 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.383, allocations: 8 kB / 1.358 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.3832, allocations: 23.91 kB / 1.358 GB, free: 15.3 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.3833, allocations: 23.97 kB / 1.358 GB, free: 15.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.3833, allocations: 4 kB / 1.358 GB, free: 15.28 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.796e-05/0.3834, allocations: 104.3 kB / 1.358 GB, free: 15.18 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3834, allocations: 0 / 1.358 GB, free: 15.18 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000312/0.3837, allocations: 63.73 kB / 1.358 GB, free: 15.11 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 (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.3848, allocations: 0.9036 MB / 1.359 GB, free: 14.18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006965/0.3855, allocations: 231.8 kB / 1.359 GB, free: 13.96 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3855, allocations: 4 kB / 1.359 GB, free: 13.95 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.3858, allocations: 120.7 kB / 1.359 GB, free: 13.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.3862, allocations: 31.92 kB / 1.359 GB, free: 13.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.3899, allocations: 2.281 MB / 1.361 GB, free: 11.43 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.3903, allocations: 0.7474 MB / 1.362 GB, free: 10.66 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000108/0.3905, allocations: 17.55 kB / 1.362 GB, free: 10.64 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.3906, allocations: 83.41 kB / 1.362 GB, free: 10.56 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/0.3906, allocations: 0 / 1.362 GB, free: 10.56 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.4186, allocations: 3.586 MB / 1.366 GB, free: 7.176 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.204/8.622, allocations: 7.922 kB / 1.366 GB, free: 7.172 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.602840224979445]