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.001419/0.001419, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001602/0.001602, allocations: 219.5 kB / 22.26 MB, free: 5.121 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.973 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.315/3.315, allocations: 0.49 GB / 0.7951 GB, free: 33.51 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.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: 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.002105/0.002105, allocations: 65.28 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4041, allocations: 176.1 MB / 1.326 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.003038/0.4071, allocations: 1.354 MB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.4088, allocations: 1.046 MB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.4089, allocations: 4 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.524e-05/0.409, allocations: 31.59 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.4091, allocations: 31.67 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.4094, allocations: 115.9 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004032/0.4098, allocations: 348.4 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003397/0.4101, allocations: 182.4 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.4103, allocations: 131.6 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.4105, allocations: 135.4 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.245e-05/0.4105, allocations: 44 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.755e-05/0.4106, allocations: 44 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.849e-05/0.4107, allocations: 83.77 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.4108, allocations: 155.3 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006403/0.4114, allocations: 0.5331 MB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4114, allocations: 0 / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4114, allocations: 0 / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.4115, allocations: 4 kB / 1.33 GB, free: 13.74 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001/0.4125, allocations: 0.5016 MB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.4125, allocations: 12.03 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.328e-05/0.4126, allocations: 66.72 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.092e-05/0.4126, allocations: 32.75 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.413, allocations: 216.6 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.413, allocations: 29.03 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.677e-05/0.4131, allocations: 28.38 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000697/0.4138, allocations: 322.5 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.4138, allocations: 3.938 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.4138, allocations: 8 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.4138, allocations: 8 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007102/0.4145, allocations: 286.4 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.4158, allocations: 0.8393 MB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006748/0.4165, allocations: 267.6 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003415/0.4168, allocations: 127.5 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.4169, allocations: 4 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.4169, allocations: 42.5 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.994e-06/0.4169, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.0009952/0.4179, allocations: 363.3 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.4179, allocations: 59.34 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.4181, allocations: 143.1 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.4181, allocations: 29.7 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.4183, allocations: 172.5 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.388e-05/0.4183, allocations: 87.27 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-05/0.4184, allocations: 41.94 kB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002017/0.4186, allocations: 326.8 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.4189, allocations: 96.39 kB / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.4192, allocations: 120.1 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005877/0.4198, allocations: 236.8 kB / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.4198, allocations: 4 kB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006838/0.4205, allocations: 281.3 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.4205, allocations: 4 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.4205, allocations: 0 / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.4205, allocations: 4 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.4208, allocations: 59.89 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.4209, allocations: 7.938 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.421, allocations: 35.8 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.421, allocations: 12.06 kB / 1.335 GB, free: 8.727 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 (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.0001806/0.4212, allocations: 141.8 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.4213, allocations: 15.91 kB / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.052e-05/0.4213, allocations: 25.27 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.4213, allocations: 7.938 kB / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.4213, allocations: 0 / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4213, allocations: 0 / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004396/0.4218, allocations: 320.4 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4218, allocations: 7.938 kB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.4221, allocations: 63.89 kB / 1.335 GB, free: 8.102 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.4221, allocations: 3.984 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.4221, allocations: 8 kB / 1.335 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.4221, allocations: 7.875 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4221, allocations: 0 / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007251/0.4228, allocations: 375.7 kB / 1.336 GB, free: 7.703 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.4229, allocations: 19.89 kB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.4229, allocations: 4 kB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.423, allocations: 23.92 kB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.578e-05/0.4231, allocations: 19.95 kB / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.4231, allocations: 8 kB / 1.336 GB, free: 7.629 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.196e-05/0.4232, allocations: 106 kB / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4232, allocations: 0 / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003468/0.4236, allocations: 59.78 kB / 1.336 GB, free: 7.469 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 (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.001109/0.4247, allocations: 0.9075 MB / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007079/0.4254, allocations: 235.1 kB / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4254, allocations: 0 / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003163/0.4257, allocations: 119.8 kB / 1.337 GB, free: 6.191 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.4261, allocations: 31.92 kB / 1.337 GB, free: 6.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/0.4298, allocations: 2.267 MB / 1.339 GB, free: 3.801 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.4302, allocations: 0.7553 MB / 1.34 GB, free: 3.02 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.997e-05/0.4303, allocations: 17.48 kB / 1.34 GB, free: 3.004 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.4304, allocations: 75.41 kB / 1.34 GB, free: 2.93 MB / 1.029 GB Notification: Performance of SimCode: time 7.72e-07/0.4304, allocations: 4 kB / 1.34 GB, free: 2.926 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.4628, allocations: 3.782 MB / 1.344 GB, free: 15.29 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.49, allocations: 7.484 kB / 1.344 GB, free: 15.29 MB / 1.045 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.480820580998625]