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.PIGain.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.001498/0.001498, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001757/0.001757, allocations: 213.4 kB / 22.24 MB, free: 5.117 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.785 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.256/3.256, allocations: 0.4892 GB / 0.7944 GB, free: 35.61 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.BaseClasses.Validation.PIGain,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain",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.00213/0.00213, allocations: 69.56 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3593, allocations: 176.1 MB / 1.325 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002288/0.3616, allocations: 0.9296 MB / 1.326 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.3628, allocations: 0.9171 MB / 1.327 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.398e-05/0.3629, allocations: 0 / 1.327 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.706e-05/0.363, allocations: 15.8 kB / 1.327 GB, free: 496 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.846e-05/0.3631, allocations: 19.81 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001234/0.3632, allocations: 55.94 kB / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.3634, allocations: 168.2 kB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.3636, allocations: 69.05 kB / 1.327 GB, free: 180 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.3637, allocations: 71.77 kB / 1.327 GB, free: 108 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.418e-05/0.3638, allocations: 63.62 kB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.3639, allocations: 24 kB / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.136e-05/0.3639, allocations: 16 kB / 1.327 GB, free: 4 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.588e-05/0.364, allocations: 44.03 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.126e-05/0.364, allocations: 55.67 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.3643, allocations: 227.1 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3643, allocations: 0 / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3643, allocations: 0 / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3643, allocations: 0 / 1.328 GB, free: 15.68 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007409/0.365, allocations: 398 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.3651, allocations: 12.03 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.331e-05/0.3651, allocations: 46.73 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.3651, allocations: 20.78 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.3654, allocations: 158.6 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.3654, allocations: 12.7 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.3654, allocations: 12.38 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004591/0.3659, allocations: 188.8 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3659, allocations: 7.922 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.3659, allocations: 4 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.3659, allocations: 4 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005373/0.3664, allocations: 176.1 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007678/0.3672, allocations: 447.2 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.3676, allocations: 138.4 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/0.3679, allocations: 88.8 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.3679, allocations: 3.938 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.3679, allocations: 34.56 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.3679, allocations: 0 / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008841/0.3688, allocations: 253.3 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.3689, allocations: 51.41 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.369, allocations: 128.6 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.369, allocations: 33.64 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.396e-05/0.3691, allocations: 128.2 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.565e-05/0.3692, allocations: 51.59 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.956e-05/0.3692, allocations: 29.72 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3694, allocations: 326.8 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.3696, allocations: 67.94 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.3699, allocations: 98.38 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004876/0.3704, allocations: 162.7 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3704, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005468/0.3709, allocations: 193.5 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.371, allocations: 8.062 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.371, allocations: 0 / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.371, allocations: 4 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.3712, allocations: 43.89 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.3712, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.3714, allocations: 27.92 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.3714, allocations: 4 kB / 1.331 GB, free: 12.18 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 (15): * Single equations (assignments): 15 * 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.0001167/0.3715, allocations: 134.2 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.759e-05/0.3715, allocations: 11.95 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.3716, allocations: 20.72 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3716, allocations: 4 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3716, allocations: 0 / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3716, allocations: 0 / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.3718, allocations: 208.5 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3718, allocations: 0 / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.372, allocations: 39.95 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.372, allocations: 0 / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.372, allocations: 3.938 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.372, allocations: 4 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.372, allocations: 0 / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006086/0.3726, allocations: 291.3 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.566e-05/0.3726, allocations: 7.953 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.3727, allocations: 3.984 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.3728, allocations: 23.98 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.3729, allocations: 15.97 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.3729, allocations: 0 / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.228e-05/0.373, allocations: 101 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.373, allocations: 4 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002506/0.3732, allocations: 27.89 kB / 1.332 GB, free: 11.22 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 (13): * Single equations (assignments): 13 * 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.0009567/0.3742, allocations: 0.8317 MB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005485/0.3747, allocations: 147.8 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3747, allocations: 8.062 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002626/0.375, allocations: 75.94 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.3754, allocations: 18.12 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00287/0.3782, allocations: 1.838 MB / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.3783, allocations: 98.8 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.962e-05/0.3784, allocations: 16.34 kB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.425e-05/0.3785, allocations: 47.42 kB / 1.335 GB, free: 8.023 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.3785, allocations: 0 / 1.335 GB, free: 8.023 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.4091, allocations: 3.323 MB / 1.338 GB, free: 4.891 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.1, allocations: 4.703 kB / 1.338 GB, free: 4.887 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_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_PIGain.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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: 19.173094153869897]