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.001776/0.001776, allocations: 102.8 kB / 16.45 MB, free: 6.449 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.002347/0.002347, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.464/1.464, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.359/3.359, allocations: 0.49 GB / 0.7916 GB, free: 33.23 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.002074/0.002074, allocations: 74.33 kB / 1.149 GB, free: 26.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3711, allocations: 176.1 MB / 1.321 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002762/0.3738, allocations: 1.365 MB / 1.322 GB, free: 2.004 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.3753, allocations: 1.034 MB / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.3754, allocations: 4 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.426e-05/0.3755, allocations: 35.59 kB / 1.323 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.3756, allocations: 31.67 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.3758, allocations: 119.9 kB / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.3762, allocations: 340.6 kB / 1.324 GB, free: 444 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003333/0.3765, allocations: 178.2 kB / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.3767, allocations: 139.5 kB / 1.324 GB, free: 124 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.3768, allocations: 131.4 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.826e-05/0.3769, allocations: 48 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.626e-05/0.3769, allocations: 44 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.234e-05/0.377, allocations: 83.77 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.3771, allocations: 155.3 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005589/0.3777, allocations: 0.537 MB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3777, allocations: 0 / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3777, allocations: 0 / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.3777, allocations: 0 / 1.325 GB, free: 15.13 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.0009856/0.3787, allocations: 0.577 MB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.3788, allocations: 11.98 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.961e-05/0.3788, allocations: 70.72 kB / 1.326 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/0.3789, allocations: 32.75 kB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.3792, allocations: 272.5 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.3793, allocations: 25.03 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/0.3793, allocations: 32.31 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000695/0.38, allocations: 318.6 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.38, allocations: 3.938 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.3801, allocations: 12 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.3801, allocations: 8 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000797/0.3809, allocations: 286.4 kB / 1.327 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.3822, allocations: 0.8779 MB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006927/0.3829, allocations: 263.5 kB / 1.328 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003738/0.3833, allocations: 128.8 kB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.3833, allocations: 4 kB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.714e-05/0.3834, allocations: 34.56 kB / 1.328 GB, free: 12.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.3834, allocations: 0 / 1.328 GB, free: 12.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.001088/0.3845, allocations: 371.7 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.3845, allocations: 67.22 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.3847, allocations: 135 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.3847, allocations: 29.7 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.3849, allocations: 168.5 kB / 1.329 GB, free: 11.24 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.237e-05/0.3849, allocations: 87.27 kB / 1.329 GB, free: 11.15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.504e-05/0.385, allocations: 45.94 kB / 1.329 GB, free: 11.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3852, allocations: 326.8 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.3855, allocations: 96.39 kB / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003302/0.3858, allocations: 124.1 kB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006263/0.3864, allocations: 236.1 kB / 1.329 GB, free: 10.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.3864, allocations: 0 / 1.329 GB, free: 10.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007235/0.3872, allocations: 283.5 kB / 1.33 GB, free: 10.03 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.3872, allocations: 8 kB / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3872, allocations: 0 / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3872, allocations: 0 / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.3875, allocations: 67.95 kB / 1.33 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.3875, allocations: 7.938 kB / 1.33 GB, free: 9.945 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.3877, allocations: 31.86 kB / 1.33 GB, free: 9.914 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.3877, allocations: 4 kB / 1.33 GB, free: 9.91 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.00016/0.3879, allocations: 145.8 kB / 1.33 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.3879, allocations: 11.91 kB / 1.33 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.041e-05/0.388, allocations: 33.17 kB / 1.33 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.567e-05/0.388, allocations: 7.938 kB / 1.33 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.388, allocations: 0 / 1.33 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.388, allocations: 0 / 1.33 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/0.3885, allocations: 349.2 kB / 1.33 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.3885, allocations: 4 kB / 1.33 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.3887, allocations: 59.95 kB / 1.33 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3887, allocations: 3.938 kB / 1.33 GB, free: 9.246 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.3888, allocations: 4 kB / 1.33 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.3888, allocations: 7.938 kB / 1.33 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3888, allocations: 4 kB / 1.33 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000753/0.3895, allocations: 367.8 kB / 1.331 GB, free: 8.855 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.05e-05/0.3896, allocations: 92.95 kB / 1.331 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.3896, allocations: 8 kB / 1.331 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.3898, allocations: 27.91 kB / 1.331 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.3899, allocations: 15.98 kB / 1.331 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.3899, allocations: 4 kB / 1.331 GB, free: 8.691 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.103e-05/0.39, allocations: 109 kB / 1.331 GB, free: 8.586 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.39, allocations: 0 / 1.331 GB, free: 8.586 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003165/0.3903, allocations: 59.78 kB / 1.331 GB, free: 8.527 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.001155/0.3914, allocations: 0.9111 MB / 1.332 GB, free: 7.594 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000717/0.3921, allocations: 239.7 kB / 1.332 GB, free: 7.359 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3921, allocations: 0 / 1.332 GB, free: 7.359 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003286/0.3925, allocations: 119.9 kB / 1.332 GB, free: 7.242 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.3929, allocations: 31.92 kB / 1.332 GB, free: 7.211 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003807/0.3967, allocations: 2.281 MB / 1.335 GB, free: 4.836 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.3971, allocations: 0.7513 MB / 1.335 GB, free: 4.059 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.69e-05/0.3972, allocations: 17.55 kB / 1.335 GB, free: 4.043 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.3974, allocations: 75.42 kB / 1.335 GB, free: 3.969 MB / 1.029 GB Notification: Performance of SimCode: time 7.91e-07/0.3974, allocations: 0 / 1.335 GB, free: 3.969 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.426, allocations: 3.575 MB / 1.339 GB, free: 0.5547 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.297/8.723, allocations: 3.781 kB / 1.339 GB, free: 0.5508 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.631766464095563]