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.0009183/0.0009183, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009839/0.0009839, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9194/0.9194, allocations: 177.2 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.718/1.718, allocations: 377.9 MB / 0.6221 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.18e-05, allocations: 2.281 kB / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.001754/0.001775, allocations: 1.218 MB / 0.9822 GB, free: 1.367 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009522/0.002728, allocations: 1.022 MB / 0.9832 GB, free: 340 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.47e-05/0.002812, allocations: 4 kB / 0.9832 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 5.736e-05/0.00287, allocations: 31.59 kB / 0.9832 GB, free: 304 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.002975, allocations: 35.66 kB / 0.9832 GB, free: 268 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001162/0.003091, allocations: 115.9 kB / 0.9833 GB, free: 152 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.003324, allocations: 360.4 kB / 0.9837 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002299/0.003554, allocations: 162.5 kB / 0.9838 GB, free: 15.63 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.003713, allocations: 203.6 kB / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.536e-05/0.003798, allocations: 99.67 kB / 0.9841 GB, free: 15.34 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.076e-05/0.003839, allocations: 44 kB / 0.9842 GB, free: 15.29 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.542e-05/0.003864, allocations: 48 kB / 0.9842 GB, free: 15.25 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.062e-05/0.003905, allocations: 79.8 kB / 0.9843 GB, free: 15.17 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.872e-05/0.003964, allocations: 95.75 kB / 0.9844 GB, free: 15.07 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.004301, allocations: 0.5607 MB / 0.9849 GB, free: 14.51 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.004304, allocations: 0 / 0.9849 GB, free: 14.51 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004305, allocations: 4 kB / 0.9849 GB, free: 14.51 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.004309, allocations: 0 / 0.9849 GB, free: 14.51 MB / 0.948 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.0005569/0.004866, allocations: 0.4964 MB / 0.9854 GB, free: 13.98 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.004905, allocations: 8.031 kB / 0.9854 GB, free: 13.97 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.229e-05/0.004957, allocations: 70.72 kB / 0.9855 GB, free: 13.89 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.004994, allocations: 32.75 kB / 0.9855 GB, free: 13.86 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.005211, allocations: 214 kB / 0.9857 GB, free: 13.63 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.005227, allocations: 21.03 kB / 0.9857 GB, free: 13.61 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.005253, allocations: 32.38 kB / 0.9858 GB, free: 13.58 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.005647, allocations: 314.6 kB / 0.9861 GB, free: 13.27 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.005656, allocations: 192 / 0.9861 GB, free: 13.27 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.005675, allocations: 16.38 kB / 0.9861 GB, free: 13.25 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.005683, allocations: 16.06 kB / 0.9861 GB, free: 13.23 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/0.006076, allocations: 282.5 kB / 0.9864 GB, free: 12.96 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.007192, allocations: 0.7536 MB / 0.9871 GB, free: 12.16 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/0.007594, allocations: 258.5 kB / 0.9874 GB, free: 11.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.007775, allocations: 127.7 kB / 0.9875 GB, free: 11.77 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.007791, allocations: 8 kB / 0.9875 GB, free: 11.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.007812, allocations: 30.56 kB / 0.9875 GB, free: 11.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.007813, allocations: 0 / 0.9875 GB, free: 11.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.0005727/0.008386, allocations: 371.9 kB / 0.9879 GB, free: 11.36 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.008415, allocations: 59.34 kB / 0.9879 GB, free: 11.29 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.188e-05/0.008507, allocations: 141.8 kB / 0.9881 GB, free: 11.14 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.008521, allocations: 25.7 kB / 0.9881 GB, free: 11.11 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.008695, allocations: 168.5 kB / 0.9882 GB, free: 10.94 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.008736, allocations: 83.28 kB / 0.9883 GB, free: 10.86 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.00879, allocations: 41.95 kB / 0.9884 GB, free: 10.81 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.048e-05/0.008871, allocations: 330.8 kB / 0.9887 GB, free: 10.48 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.00902, allocations: 92.41 kB / 0.9888 GB, free: 10.39 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.009189, allocations: 129.8 kB / 0.9889 GB, free: 10.25 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.0095, allocations: 238.3 kB / 0.9891 GB, free: 10.02 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.009502, allocations: 0 / 0.9891 GB, free: 10.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003555/0.009857, allocations: 277.3 kB / 0.9894 GB, free: 9.738 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.009872, allocations: 4 kB / 0.9894 GB, free: 9.734 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.009879, allocations: 8.062 kB / 0.9894 GB, free: 9.727 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.009891, allocations: 0 / 0.9894 GB, free: 9.727 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.01005, allocations: 67.89 kB / 0.9895 GB, free: 9.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.01006, allocations: 0 / 0.9895 GB, free: 9.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.825e-05/0.01014, allocations: 39.77 kB / 0.9895 GB, free: 9.621 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.01015, allocations: 7.984 kB / 0.9895 GB, free: 9.613 MB / 0.948 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.0001002/0.01025, allocations: 149.8 kB / 0.9897 GB, free: 9.457 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.01027, allocations: 19.88 kB / 0.9897 GB, free: 9.438 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.0103, allocations: 21.28 kB / 0.9897 GB, free: 9.418 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.0103, allocations: 4 kB / 0.9897 GB, free: 9.414 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.01031, allocations: 0 / 0.9897 GB, free: 9.414 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.01032, allocations: 3.984 kB / 0.9897 GB, free: 9.41 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.01055, allocations: 296.3 kB / 0.99 GB, free: 9.078 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01055, allocations: 4 kB / 0.99 GB, free: 9.074 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.01069, allocations: 67.89 kB / 0.9901 GB, free: 9.008 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.01069, allocations: 0 / 0.9901 GB, free: 9.008 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.0107, allocations: 4 kB / 0.9901 GB, free: 9.004 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.0107, allocations: 8 kB / 0.9901 GB, free: 8.996 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.0107, allocations: 0 / 0.9901 GB, free: 8.996 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.01108, allocations: 368.9 kB / 0.9904 GB, free: 8.621 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.211e-05/0.01109, allocations: 11.89 kB / 0.9904 GB, free: 8.609 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.01111, allocations: 8 kB / 0.9904 GB, free: 8.602 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.702e-05/0.01119, allocations: 19.97 kB / 0.9905 GB, free: 8.582 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.01124, allocations: 19.97 kB / 0.9905 GB, free: 8.562 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.01125, allocations: 8 kB / 0.9905 GB, free: 8.555 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.706e-05/0.01129, allocations: 117.5 kB / 0.9906 GB, free: 8.441 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01129, allocations: 0 / 0.9906 GB, free: 8.441 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001801/0.01147, allocations: 59.78 kB / 0.9906 GB, free: 8.383 MB / 0.948 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.000566/0.01204, allocations: 0.9104 MB / 0.9915 GB, free: 7.449 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003644/0.0124, allocations: 235.6 kB / 0.9918 GB, free: 7.219 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.0124, allocations: 4.125 kB / 0.9918 GB, free: 7.215 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.01257, allocations: 120.7 kB / 0.9919 GB, free: 7.098 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.01287, allocations: 16 kB / 0.9919 GB, free: 7.082 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.01489, allocations: 2.295 MB / 0.9941 GB, free: 4.691 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.279e-05/0.01499, allocations: 141.8 kB / 0.9943 GB, free: 4.535 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.272e-05/0.01506, allocations: 17.48 kB / 0.9943 GB, free: 4.52 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.301e-05/0.01515, allocations: 76.47 kB / 0.9944 GB, free: 4.445 MB / 0.948 GB Notification: Performance of SimCode: time 7.62e-07/0.01515, allocations: 0 / 0.9944 GB, free: 4.445 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/0.03074, allocations: 4.272 MB / 0.9985 GB, free: 364 kB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.689/6.72, allocations: 13.09 kB / 0.9985 GB, free: 356 kB / 0.948 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins/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: 10.837204795330763]