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.001349/0.001349, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001494/0.001494, allocations: 218.9 kB / 22.25 MB, free: 5.258 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.84 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.441/3.441, allocations: 0.49 GB / 0.7951 GB, free: 35.5 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.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: 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: 71.06 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3766, allocations: 176.1 MB / 1.326 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.00274/0.3794, allocations: 1.144 MB / 1.327 GB, free: 424 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.3807, allocations: 1.003 MB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.3808, allocations: 4 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.125e-05/0.3809, allocations: 23.67 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.3811, allocations: 35.66 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.3812, allocations: 99.91 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.3816, allocations: 311.4 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003013/0.3819, allocations: 142 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.382, allocations: 115.6 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.3822, allocations: 115.5 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.163e-05/0.3822, allocations: 36 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.443e-05/0.3823, allocations: 36 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.146e-05/0.3823, allocations: 67.77 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.955e-05/0.3824, allocations: 103.5 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004768/0.3829, allocations: 454.5 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3829, allocations: 0 / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3829, allocations: 0 / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.3829, allocations: 0 / 1.329 GB, free: 13.88 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008958/0.3838, allocations: 485.8 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3839, allocations: 8.031 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.107e-05/0.3839, allocations: 58.73 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.384, allocations: 36.75 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.3843, allocations: 206.7 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.3843, allocations: 17.03 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.626e-05/0.3844, allocations: 28.38 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005825/0.385, allocations: 258.6 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.385, allocations: 3.938 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.385, allocations: 8 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.385, allocations: 12 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006591/0.3857, allocations: 238.4 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.3868, allocations: 0.6478 MB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005662/0.3873, allocations: 202.7 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.3876, allocations: 112.7 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.3876, allocations: 7.938 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.3877, allocations: 34.56 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.282e-06/0.3877, allocations: 0 / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0009498/0.3886, allocations: 322.9 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.3887, allocations: 51.41 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.3888, allocations: 141.2 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3889, allocations: 33.69 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.389, allocations: 152.6 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.815e-05/0.389, allocations: 67.42 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.723e-05/0.3891, allocations: 33.72 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3893, allocations: 326.8 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.3895, allocations: 87.92 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.3898, allocations: 109.5 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005278/0.3903, allocations: 192.4 kB / 1.333 GB, free: 9.867 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3903, allocations: 0 / 1.333 GB, free: 9.867 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006081/0.3909, allocations: 233.4 kB / 1.333 GB, free: 9.633 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.391, allocations: 8 kB / 1.333 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.391, allocations: 0 / 1.333 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.391, allocations: 4.031 kB / 1.333 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.3913, allocations: 59.89 kB / 1.333 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.3913, allocations: 3.938 kB / 1.333 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.3914, allocations: 23.88 kB / 1.333 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.3914, allocations: 8 kB / 1.333 GB, free: 9.527 MB / 1.029 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 0.0001399/0.3916, allocations: 138.9 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/0.3916, allocations: 15.91 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.812e-05/0.3917, allocations: 21.12 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.3917, allocations: 7.938 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3917, allocations: 0 / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3917, allocations: 0 / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003417/0.392, allocations: 260.5 kB / 1.334 GB, free: 9.035 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.392, allocations: 0 / 1.334 GB, free: 9.035 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.3923, allocations: 55.91 kB / 1.334 GB, free: 8.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3923, allocations: 0 / 1.334 GB, free: 8.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.3923, allocations: 11.98 kB / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3923, allocations: 7.938 kB / 1.334 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3923, allocations: 0 / 1.334 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006662/0.393, allocations: 332.9 kB / 1.334 GB, free: 8.621 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.981e-05/0.393, allocations: 11.91 kB / 1.334 GB, free: 8.609 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.393, allocations: 4 kB / 1.334 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.3932, allocations: 31.91 kB / 1.334 GB, free: 8.574 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.3932, allocations: 19.91 kB / 1.334 GB, free: 8.555 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.3932, allocations: 4 kB / 1.334 GB, free: 8.551 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.877e-05/0.3933, allocations: 105.1 kB / 1.334 GB, free: 8.449 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3933, allocations: 0 / 1.334 GB, free: 8.449 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002829/0.3936, allocations: 51.78 kB / 1.335 GB, free: 8.398 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 (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.001/0.3946, allocations: 0.8781 MB / 1.335 GB, free: 7.496 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006027/0.3952, allocations: 193.5 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.3952, allocations: 4 kB / 1.336 GB, free: 7.305 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002919/0.3955, allocations: 107.9 kB / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.3959, allocations: 23.98 kB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00328/0.3992, allocations: 2.106 MB / 1.338 GB, free: 4.984 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.3993, allocations: 133.6 kB / 1.338 GB, free: 4.84 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.855e-05/0.3994, allocations: 17.42 kB / 1.338 GB, free: 4.82 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.3995, allocations: 63.42 kB / 1.338 GB, free: 4.758 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/0.3995, allocations: 0 / 1.338 GB, free: 4.758 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03269/0.4322, allocations: 4.032 MB / 1.342 GB, free: 0.8906 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.66, allocations: 4.062 kB / 1.342 GB, free: 0.8906 MB / 1.029 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.80183469399344]