Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.0009119/0.0009119, 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.0008865/0.0008865, allocations: 169.9 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.8944/0.8944, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.712/1.712, allocations: 377.8 MB / 0.6221 GB, free: 8.676 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.PID,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.727e-06/3.727e-06, allocations: 0 / 0.981 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.611e-05, allocations: 2.281 kB / 0.981 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002588/0.002614, allocations: 1.141 MB / 0.9821 GB, free: 1.461 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.003989, allocations: 0.9989 MB / 0.983 GB, free: 460 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.82e-05/0.004078, allocations: 4 kB / 0.9831 GB, free: 456 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 5.476e-05/0.004132, allocations: 27.66 kB / 0.9831 GB, free: 428 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.004246, allocations: 35.66 kB / 0.9831 GB, free: 392 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.004376, allocations: 99.89 kB / 0.9832 GB, free: 292 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.004597, allocations: 307.3 kB / 0.9835 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002342/0.004831, allocations: 137.9 kB / 0.9836 GB, free: 15.85 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.005013, allocations: 179.7 kB / 0.9838 GB, free: 15.67 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.669e-05/0.0051, allocations: 91.69 kB / 0.9839 GB, free: 15.58 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.005138, allocations: 36 kB / 0.9839 GB, free: 15.55 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.171e-05/0.005159, allocations: 36 kB / 0.984 GB, free: 15.51 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.671e-05/0.005196, allocations: 59.83 kB / 0.984 GB, free: 15.45 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.861e-05/0.005255, allocations: 91.75 kB / 0.9841 GB, free: 15.36 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.005554, allocations: 458.5 kB / 0.9845 GB, free: 14.91 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.005557, allocations: 0 / 0.9845 GB, free: 14.91 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.005559, allocations: 0 / 0.9845 GB, free: 14.91 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.005565, allocations: 0 / 0.9845 GB, free: 14.91 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0005615/0.006126, allocations: 485.8 kB / 0.985 GB, free: 14.41 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.006168, allocations: 8.031 kB / 0.985 GB, free: 14.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.221e-05/0.00622, allocations: 66.72 kB / 0.9851 GB, free: 14.32 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.006255, allocations: 24.8 kB / 0.9851 GB, free: 14.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.00648, allocations: 208.5 kB / 0.9853 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.006497, allocations: 25.03 kB / 0.9853 GB, free: 14.05 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.006519, allocations: 24.38 kB / 0.9853 GB, free: 14.03 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000371/0.00689, allocations: 258.6 kB / 0.9856 GB, free: 13.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.006901, allocations: 4.172 kB / 0.9856 GB, free: 13.76 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.006919, allocations: 8.375 kB / 0.9856 GB, free: 13.75 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.006928, allocations: 12.12 kB / 0.9856 GB, free: 13.74 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003545/0.007282, allocations: 246.4 kB / 0.9859 GB, free: 13.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007417/0.008024, allocations: 0.6362 MB / 0.9865 GB, free: 12.82 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.008376, allocations: 206.7 kB / 0.9867 GB, free: 12.61 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.008535, allocations: 112.7 kB / 0.9868 GB, free: 12.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.008549, allocations: 3.938 kB / 0.9868 GB, free: 12.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.008569, allocations: 38.55 kB / 0.9868 GB, free: 12.45 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.008571, allocations: 3.938 kB / 0.9868 GB, free: 12.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.0005217/0.009092, allocations: 313.7 kB / 0.9871 GB, free: 12.13 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.009125, allocations: 59.39 kB / 0.9872 GB, free: 12.06 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.098e-05/0.009216, allocations: 135.5 kB / 0.9873 GB, free: 11.92 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.009231, allocations: 33.7 kB / 0.9873 GB, free: 11.88 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.283e-05/0.009303, allocations: 152.6 kB / 0.9875 GB, free: 11.73 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.009339, allocations: 71.38 kB / 0.9876 GB, free: 11.66 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.009385, allocations: 37.66 kB / 0.9876 GB, free: 11.61 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.643e-05/0.009471, allocations: 322.8 kB / 0.9879 GB, free: 11.29 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.009612, allocations: 87.86 kB / 0.988 GB, free: 11.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.009763, allocations: 103 kB / 0.9881 GB, free: 11.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.01004, allocations: 188 kB / 0.9883 GB, free: 10.91 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01005, allocations: 0 / 0.9883 GB, free: 10.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003244/0.01037, allocations: 243.6 kB / 0.9885 GB, free: 10.67 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.01039, allocations: 8 kB / 0.9885 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01039, allocations: 0 / 0.9885 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.01041, allocations: 0 / 0.9885 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.01054, allocations: 59.89 kB / 0.9886 GB, free: 10.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.01055, allocations: 4.031 kB / 0.9886 GB, free: 10.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.557e-05/0.01061, allocations: 27.81 kB / 0.9886 GB, free: 10.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.01063, allocations: 11.98 kB / 0.9886 GB, free: 10.56 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (21): * Single equations (assignments): 21 * 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 9.052e-05/0.01072, allocations: 133.8 kB / 0.9887 GB, free: 10.42 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.01074, allocations: 15.91 kB / 0.9887 GB, free: 10.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.01077, allocations: 25.12 kB / 0.9888 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01077, allocations: 0 / 0.9888 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.01077, allocations: 0 / 0.9888 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.01078, allocations: 7.984 kB / 0.9888 GB, free: 10.37 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.01099, allocations: 256.5 kB / 0.989 GB, free: 10.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.01099, allocations: 0 / 0.989 GB, free: 10.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.0111, allocations: 51.89 kB / 0.9891 GB, free: 10.03 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.01111, allocations: 3.984 kB / 0.9891 GB, free: 10.02 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.01112, allocations: 11.94 kB / 0.9891 GB, free: 10.01 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.01112, allocations: 0 / 0.9891 GB, free: 10.01 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01112, allocations: 0 / 0.9891 GB, free: 10.01 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.01147, allocations: 335.2 kB / 0.9894 GB, free: 9.668 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.505e-05/0.01149, allocations: 15.84 kB / 0.9894 GB, free: 9.652 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.0115, allocations: 4 kB / 0.9894 GB, free: 9.648 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.0116, allocations: 27.97 kB / 0.9894 GB, free: 9.621 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.01166, allocations: 11.97 kB / 0.9895 GB, free: 9.609 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.01167, allocations: 8 kB / 0.9895 GB, free: 9.602 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.8e-05/0.01173, allocations: 113.6 kB / 0.9896 GB, free: 9.492 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01173, allocations: 0 / 0.9896 GB, free: 9.492 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001956/0.01193, allocations: 55.72 kB / 0.9896 GB, free: 9.438 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 (20): * Single equations (assignments): 20 * 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.0006056/0.01253, allocations: 0.8713 MB / 0.9905 GB, free: 8.543 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003757/0.01291, allocations: 191.8 kB / 0.9907 GB, free: 8.355 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01291, allocations: 0 / 0.9907 GB, free: 8.355 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.01305, allocations: 99.92 kB / 0.9908 GB, free: 8.258 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.01335, allocations: 34.5 kB / 0.9908 GB, free: 8.227 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.01525, allocations: 2.119 MB / 0.9929 GB, free: 6.02 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.288e-05/0.01534, allocations: 126 kB / 0.993 GB, free: 5.875 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.001e-05/0.01541, allocations: 13.48 kB / 0.993 GB, free: 5.863 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.708e-05/0.0155, allocations: 72.47 kB / 0.9931 GB, free: 5.793 MB / 0.948 GB Notification: Performance of SimCode: time 1.041e-06/0.0155, allocations: 0 / 0.9931 GB, free: 5.793 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.03282, allocations: 4.079 MB / 0.997 GB, free: 1.902 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.805/6.838, allocations: 4.719 kB / 0.997 GB, free: 1.902 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_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_PID.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable kp.y in file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.csv. Warning: Get data of variable kp.y from file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.csv failed! Error: Could not read variable L.y in file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.csv. Warning: Get data of variable L.y from file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.888834566809237]