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.001829/0.001829, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002411/0.002411, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.597/1.597, allocations: 230.6 MB / 256 MB, free: 7.805 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.204/3.204, allocations: 0.4892 GB / 0.7943 GB, free: 35.56 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.002014/0.002014, allocations: 68.25 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3652, allocations: 176.1 MB / 1.325 GB, free: 2.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.003038/0.3682, allocations: 1.213 MB / 1.326 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.3698, allocations: 1.023 MB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.37, allocations: 4 kB / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.3701, allocations: 31.59 kB / 1.327 GB, free: 96 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.3703, allocations: 35.59 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.3705, allocations: 116 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004095/0.3709, allocations: 352.4 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000339/0.3713, allocations: 170.3 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.3715, allocations: 131.6 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.3717, allocations: 119.3 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.938e-05/0.3717, allocations: 44 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.362e-05/0.3718, allocations: 44 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.009e-05/0.3718, allocations: 79.83 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.372, allocations: 123.5 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006688/0.3726, allocations: 0.537 MB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3727, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.848e-06/0.3727, allocations: 7.984 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.3727, allocations: 0 / 1.329 GB, free: 14.35 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.0009877/0.3737, allocations: 0.5017 MB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.3737, allocations: 12.03 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.87e-05/0.3738, allocations: 70.66 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.3e-05/0.3739, allocations: 36.75 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.3742, allocations: 212.6 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.3742, allocations: 25.03 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.169e-05/0.3743, allocations: 32.38 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007243/0.375, allocations: 310.6 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.375, allocations: 7.938 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.375, allocations: 8 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.375, allocations: 8 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007922/0.3758, allocations: 290.4 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.3771, allocations: 0.7496 MB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006713/0.3778, allocations: 257.3 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/0.3781, allocations: 129.2 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.3782, allocations: 4 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.3782, allocations: 50.38 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.753e-06/0.3782, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.001043/0.3792, allocations: 365.3 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.3793, allocations: 55.34 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.3794, allocations: 140.6 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.3795, allocations: 29.7 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.3796, allocations: 168.5 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.289e-05/0.3797, allocations: 91.22 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/0.3797, allocations: 37.94 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3799, allocations: 326.8 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.3802, allocations: 100.4 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003215/0.3805, allocations: 128.3 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006197/0.3812, allocations: 234.4 kB / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3812, allocations: 4 kB / 1.333 GB, free: 9.832 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008054/0.382, allocations: 277.3 kB / 1.333 GB, free: 9.555 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.382, allocations: 4 kB / 1.333 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.382, allocations: 4.062 kB / 1.333 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.382, allocations: 4 kB / 1.333 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/0.3823, allocations: 63.83 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3823, allocations: 4 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.3825, allocations: 31.86 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.3825, allocations: 12 kB / 1.334 GB, free: 9.434 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.0001607/0.3827, allocations: 145.8 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.3827, allocations: 19.91 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.069e-05/0.3828, allocations: 25.27 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.3828, allocations: 7.938 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.3828, allocations: 0 / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3828, allocations: 0 / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.3832, allocations: 296.4 kB / 1.334 GB, free: 8.895 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3832, allocations: 0 / 1.334 GB, free: 8.895 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002796/0.3835, allocations: 63.89 kB / 1.334 GB, free: 8.832 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.3835, allocations: 0 / 1.334 GB, free: 8.832 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.3835, allocations: 4 kB / 1.334 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3835, allocations: 7.938 kB / 1.334 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3835, allocations: 0 / 1.334 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007261/0.3843, allocations: 373 kB / 1.334 GB, free: 8.441 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/0.3843, allocations: 19.83 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.3843, allocations: 4 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.3845, allocations: 23.92 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.3846, allocations: 27.89 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.3846, allocations: 8 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.2e-05/0.3847, allocations: 105.2 kB / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3847, allocations: 0 / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002972/0.385, allocations: 59.78 kB / 1.335 GB, free: 8.199 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.001237/0.3862, allocations: 0.907 MB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006773/0.3869, allocations: 227.7 kB / 1.336 GB, free: 7.047 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3869, allocations: 4.125 kB / 1.336 GB, free: 7.043 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003177/0.3872, allocations: 119.9 kB / 1.336 GB, free: 6.926 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.3876, allocations: 27.92 kB / 1.336 GB, free: 6.898 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003825/0.3915, allocations: 2.274 MB / 1.338 GB, free: 4.535 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.3916, allocations: 145.7 kB / 1.338 GB, free: 4.371 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001123/0.3917, allocations: 17.48 kB / 1.338 GB, free: 4.355 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.3919, allocations: 71.41 kB / 1.338 GB, free: 4.285 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3919, allocations: 0 / 1.338 GB, free: 4.285 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03445/0.4263, allocations: 4.14 MB / 1.342 GB, free: 316 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.05, allocations: 9.797 kB / 1.342 GB, free: 308 kB / 1.029 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: 19.034880416002125]