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.001699/0.001699, 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.001458/0.001458, allocations: 213.2 kB / 22.25 MB, free: 4.855 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.809 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.172/3.172, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 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.002008/0.002008, allocations: 73.94 kB / 1.153 GB, free: 25.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3686, allocations: 176.1 MB / 1.325 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002761/0.3714, allocations: 1.134 MB / 1.326 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.3728, allocations: 0.999 MB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.373, allocations: 4 kB / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.731e-05/0.3731, allocations: 23.67 kB / 1.327 GB, free: 232 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.3733, allocations: 39.64 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.3735, allocations: 95.92 kB / 1.327 GB, free: 96 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004212/0.3739, allocations: 311.4 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003233/0.3742, allocations: 133.9 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.3744, allocations: 119.6 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.3746, allocations: 99.47 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.451e-05/0.3746, allocations: 39.98 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.036e-05/0.3747, allocations: 36 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.3748, allocations: 67.83 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.3749, allocations: 99.53 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005051/0.3754, allocations: 454.5 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.3754, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3754, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.3754, allocations: 4 kB / 1.329 GB, free: 14.75 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.0009486/0.3763, allocations: 477.8 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.3764, allocations: 15.97 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.832e-05/0.3765, allocations: 58.73 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.799e-05/0.3765, allocations: 32.73 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.3769, allocations: 200.6 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.3769, allocations: 29.02 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.377, allocations: 28.36 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006402/0.3776, allocations: 262.4 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3776, allocations: 0 / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.3776, allocations: 12 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.3776, allocations: 4 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006959/0.3783, allocations: 234.5 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.3795, allocations: 0.6517 MB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006048/0.3801, allocations: 202.8 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.3804, allocations: 112.7 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.3805, allocations: 4 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/0.3805, allocations: 34.56 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.3805, allocations: 4 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0009963/0.3815, allocations: 315.2 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.3815, allocations: 55.41 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.3817, allocations: 146.9 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.3817, allocations: 29.7 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.3819, allocations: 152.6 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.626e-05/0.382, allocations: 75.41 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.699e-05/0.382, allocations: 29.67 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3822, allocations: 330.8 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.3825, allocations: 83.86 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/0.3827, allocations: 107.9 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005635/0.3833, allocations: 187.3 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.3833, allocations: 0 / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006665/0.384, allocations: 245.4 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.384, allocations: 5.562 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.384, allocations: 0 / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.384, allocations: 7.938 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.3843, allocations: 51.98 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3843, allocations: 7.938 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.3845, allocations: 23.92 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.3845, allocations: 4 kB / 1.333 GB, free: 10.41 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.0001582/0.3846, allocations: 142.5 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.3847, allocations: 15.89 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.596e-05/0.3847, allocations: 21.12 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.3847, allocations: 7.875 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3847, allocations: 4 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3847, allocations: 4 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.3851, allocations: 256.5 kB / 1.333 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3851, allocations: 0 / 1.333 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.3854, allocations: 59.89 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3854, allocations: 0 / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.3854, allocations: 0 / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.3854, allocations: 3.938 kB / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3854, allocations: 0 / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006949/0.3861, allocations: 337 kB / 1.333 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.3861, allocations: 11.91 kB / 1.333 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.3861, allocations: 8 kB / 1.333 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.3863, allocations: 27.78 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/0.3864, allocations: 19.97 kB / 1.334 GB, free: 9.434 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.3864, allocations: 8 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.404e-05/0.3865, allocations: 109.3 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3865, allocations: 0 / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002926/0.3868, allocations: 51.78 kB / 1.334 GB, free: 9.27 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.001027/0.3878, allocations: 0.874 MB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000616/0.3884, allocations: 194 kB / 1.335 GB, free: 8.184 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3884, allocations: 0 / 1.335 GB, free: 8.184 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.3887, allocations: 111.9 kB / 1.335 GB, free: 8.074 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.3891, allocations: 23.98 kB / 1.335 GB, free: 8.051 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.3925, allocations: 2.106 MB / 1.337 GB, free: 5.855 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.3926, allocations: 133.6 kB / 1.337 GB, free: 5.711 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.478e-05/0.3927, allocations: 13.42 kB / 1.337 GB, free: 5.695 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.3929, allocations: 63.42 kB / 1.337 GB, free: 5.633 MB / 1.029 GB Notification: Performance of SimCode: time 7.51e-07/0.3929, allocations: 0 / 1.337 GB, free: 5.633 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/0.4243, allocations: 3.946 MB / 1.341 GB, free: 1.848 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.04, allocations: 7.609 kB / 1.341 GB, free: 1.844 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.954282451886684]