Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.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.001063/0.001063, 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.001251/0.001251, 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.8919/0.8919, 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.673/1.673, allocations: 377.8 MB / 0.6221 GB, free: 8.668 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.BaseClasses.Validation.PIDGain,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.354e-05, allocations: 2.281 kB / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.003676/0.0037, allocations: 0.8244 MB / 0.9818 GB, free: 1.75 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.004963, allocations: 0.8783 MB / 0.9826 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.621e-05/0.00505, allocations: 0 / 0.9826 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.959e-05/0.005099, allocations: 11.81 kB / 0.9827 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.00523, allocations: 19.86 kB / 0.9827 GB, free: 0.8281 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001141/0.005344, allocations: 35.89 kB / 0.9827 GB, free: 0.793 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.005539, allocations: 123.7 kB / 0.9828 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.005696, allocations: 33.16 kB / 0.9829 GB, free: 0.6406 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.005818, allocations: 75.8 kB / 0.9829 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.849e-05/0.005876, allocations: 31.89 kB / 0.983 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.00591, allocations: 12 kB / 0.983 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.576e-05/0.005926, allocations: 12 kB / 0.983 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 3.225e-05/0.005958, allocations: 27.91 kB / 0.983 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.352e-05/0.006002, allocations: 27.92 kB / 0.983 GB, free: 468 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.006209, allocations: 148.8 kB / 0.9832 GB, free: 320 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.006213, allocations: 0 / 0.9832 GB, free: 320 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.944e-06/0.006215, allocations: 0 / 0.9832 GB, free: 320 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.006221, allocations: 4 kB / 0.9832 GB, free: 316 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006479/0.006869, allocations: 350.1 kB / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.006916, allocations: 12.03 kB / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.006966, allocations: 46.73 kB / 0.9836 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.007003, allocations: 16.84 kB / 0.9836 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.00718, allocations: 141.7 kB / 0.9837 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.007191, allocations: 4.547 kB / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.007205, allocations: 16.38 kB / 0.9837 GB, free: 15.67 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.007469, allocations: 126.3 kB / 0.9839 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.007479, allocations: 0 / 0.9839 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.007493, allocations: 4 kB / 0.9839 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.0075, allocations: 4 kB / 0.9839 GB, free: 15.53 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.007865, allocations: 127.8 kB / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005858/0.008451, allocations: 343.8 kB / 0.9843 GB, free: 15.03 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.008767, allocations: 102.6 kB / 0.9844 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.008953, allocations: 68.8 kB / 0.9845 GB, free: 14.85 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.008971, allocations: 3.984 kB / 0.9845 GB, free: 14.84 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.008996, allocations: 34.56 kB / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 2.144e-06/0.008998, allocations: 0 / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.000616/0.009614, allocations: 209.4 kB / 0.9847 GB, free: 14.59 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.009653, allocations: 51.41 kB / 0.9848 GB, free: 14.53 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.009768, allocations: 132.8 kB / 0.9849 GB, free: 14.39 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.009784, allocations: 25.7 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.222e-05/0.009856, allocations: 112 kB / 0.985 GB, free: 14.24 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.009878, allocations: 31.69 kB / 0.9851 GB, free: 14.21 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/0.009934, allocations: 21.7 kB / 0.9851 GB, free: 14.18 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.01005, allocations: 326.8 kB / 0.9854 GB, free: 13.86 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.01021, allocations: 51.94 kB / 0.9854 GB, free: 13.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.01038, allocations: 69.59 kB / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.01069, allocations: 129.8 kB / 0.9856 GB, free: 13.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01069, allocations: 0 / 0.9856 GB, free: 13.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003896/0.01108, allocations: 161.5 kB / 0.9858 GB, free: 13.43 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.0111, allocations: 6.969 kB / 0.9858 GB, free: 13.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.0111, allocations: 0 / 0.9858 GB, free: 13.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.01112, allocations: 4 kB / 0.9858 GB, free: 13.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.413e-05/0.01121, allocations: 31.97 kB / 0.9858 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.01122, allocations: 400 / 0.9858 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.692e-05/0.01128, allocations: 23.92 kB / 0.9859 GB, free: 13.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.01128, allocations: 0 / 0.9859 GB, free: 13.37 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 (9): * Single equations (assignments): 9 * 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 8.3e-05/0.01137, allocations: 129.8 kB / 0.986 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.01139, allocations: 7.953 kB / 0.986 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.01142, allocations: 16.7 kB / 0.986 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01143, allocations: 0 / 0.986 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.01143, allocations: 4 kB / 0.986 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.01144, allocations: 0 / 0.986 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.01164, allocations: 164.7 kB / 0.9862 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01165, allocations: 0 / 0.9862 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.01176, allocations: 31.97 kB / 0.9862 GB, free: 12.97 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01177, allocations: 4 kB / 0.9862 GB, free: 12.97 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.01178, allocations: 8 kB / 0.9862 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.01178, allocations: 0 / 0.9862 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01178, allocations: 0 / 0.9862 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004168/0.0122, allocations: 255.3 kB / 0.9864 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.01221, allocations: 11.89 kB / 0.9865 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.01223, allocations: 4 kB / 0.9865 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.01234, allocations: 24.09 kB / 0.9865 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.0124, allocations: 7.984 kB / 0.9865 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.01241, allocations: 3.938 kB / 0.9865 GB, free: 12.64 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.038e-05/0.01248, allocations: 103.3 kB / 0.9866 GB, free: 12.54 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.01248, allocations: 0 / 0.9866 GB, free: 12.54 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002981/0.01277, allocations: 23.89 kB / 0.9866 GB, free: 12.52 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 (8): * Single equations (assignments): 8 * 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.0006775/0.01345, allocations: 0.7848 MB / 0.9874 GB, free: 11.71 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003478/0.0138, allocations: 127.9 kB / 0.9875 GB, free: 11.59 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.0138, allocations: 0 / 0.9875 GB, free: 11.59 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.01393, allocations: 67.88 kB / 0.9876 GB, free: 11.52 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.01433, allocations: 15.98 kB / 0.9876 GB, free: 11.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.01647, allocations: 1.652 MB / 0.9892 GB, free: 9.762 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.287e-05/0.01654, allocations: 81.5 kB / 0.9893 GB, free: 9.66 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.236e-05/0.01661, allocations: 11.98 kB / 0.9893 GB, free: 9.648 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.808e-05/0.01668, allocations: 32.48 kB / 0.9893 GB, free: 9.617 MB / 0.948 GB Notification: Performance of SimCode: time 8.11e-07/0.01669, allocations: 0 / 0.9893 GB, free: 9.617 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.03544, allocations: 3.215 MB / 0.9925 GB, free: 6.637 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.734/6.77, allocations: 1.203 kB / 0.9925 GB, free: 6.637 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_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_BaseClasses_Validation_PIDGain.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable L.y in file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.csv. Warning: Get data of variable L.y from file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.842855669558048]