Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.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.001736/0.001736, allocations: 108.4 kB / 16.46 MB, free: 6.453 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.002421/0.002421, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.52/1.52, allocations: 230.6 MB / 252.8 MB, free: 8.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.226/3.226, allocations: 0.49 GB / 0.7916 GB, free: 33.44 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.BaseClasses.Validation.PIDIntegralTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime",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.002046/0.002046, allocations: 66.38 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3772, allocations: 176.1 MB / 1.321 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.002783/0.38, allocations: 0.8703 MB / 1.322 GB, free: 2.531 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.3813, allocations: 0.8743 MB / 1.323 GB, free: 1.645 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.407e-05/0.3814, allocations: 0 / 1.323 GB, free: 1.645 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.318e-05/0.3815, allocations: 7.875 kB / 1.323 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.3816, allocations: 23.84 kB / 1.323 GB, free: 1.613 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.62e-05/0.3817, allocations: 27.97 kB / 1.323 GB, free: 1.586 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.3818, allocations: 115.8 kB / 1.323 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.382, allocations: 37.39 kB / 1.323 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.3821, allocations: 51.78 kB / 1.323 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.902e-05/0.3822, allocations: 51.75 kB / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.3822, allocations: 12 kB / 1.323 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.138e-05/0.3823, allocations: 12 kB / 1.323 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.409e-05/0.3823, allocations: 23.92 kB / 1.323 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.953e-05/0.3823, allocations: 43.8 kB / 1.323 GB, free: 1.238 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.3826, allocations: 147.6 kB / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3826, allocations: 0 / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3826, allocations: 4 kB / 1.323 GB, free: 1.09 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.3826, allocations: 0 / 1.323 GB, free: 1.09 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006912/0.3833, allocations: 415 kB / 1.323 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.3833, allocations: 15.98 kB / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.755e-05/0.3834, allocations: 42.69 kB / 1.324 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.3834, allocations: 12.88 kB / 1.324 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.3836, allocations: 196.2 kB / 1.324 GB, free: 332 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.3836, allocations: 12.38 kB / 1.324 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.3837, allocations: 8.375 kB / 1.324 GB, free: 312 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003617/0.384, allocations: 119.1 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.384, allocations: 3.938 kB / 1.324 GB, free: 184 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.384, allocations: 8 kB / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3841, allocations: 0 / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003812/0.3844, allocations: 113.9 kB / 1.324 GB, free: 64 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005969/0.385, allocations: 404.3 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004172/0.3854, allocations: 122.5 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.3857, allocations: 56.81 kB / 1.325 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.3857, allocations: 4 kB / 1.325 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.3857, allocations: 34.56 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.3857, allocations: 0 / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006686/0.3864, allocations: 189.6 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.3864, allocations: 51.41 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.3865, allocations: 113.8 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.3866, allocations: 29.7 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.978e-05/0.3866, allocations: 104 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.352e-05/0.3867, allocations: 35.69 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.3867, allocations: 21.72 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3869, allocations: 318.8 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.387, allocations: 39.95 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.3872, allocations: 47.89 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003358/0.3875, allocations: 101.3 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3876, allocations: 0 / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004201/0.388, allocations: 137.5 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.388, allocations: 4 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.388, allocations: 0 / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.388, allocations: 7.938 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.3882, allocations: 31.97 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.3882, allocations: 0 / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.996e-05/0.3883, allocations: 15.98 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.3883, allocations: 4 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (9): * Single equations (assignments): 9 * 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.0001014/0.3884, allocations: 121.8 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.3884, allocations: 7.953 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.3884, allocations: 20.3 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3884, allocations: 0 / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.3884, allocations: 4 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.3884, allocations: 0 / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.3887, allocations: 201.6 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3887, allocations: 3.938 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.3888, allocations: 23.98 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3888, allocations: 0 / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.3888, allocations: 11.94 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3888, allocations: 0 / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3888, allocations: 4 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004522/0.3893, allocations: 231.4 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.753e-05/0.3894, allocations: 89 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.3894, allocations: 3.938 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.3895, allocations: 19.97 kB / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.3896, allocations: 8 kB / 1.326 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3896, allocations: 0 / 1.326 GB, free: 13.26 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.322e-05/0.3896, allocations: 91.27 kB / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3896, allocations: 0 / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000238/0.3899, allocations: 23.95 kB / 1.327 GB, free: 13.15 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 (9): * Single equations (assignments): 9 * 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.0008054/0.3907, allocations: 0.7788 MB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004133/0.3911, allocations: 95.86 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3911, allocations: 4 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.3913, allocations: 59.89 kB / 1.327 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.3917, allocations: 20.62 kB / 1.328 GB, free: 12.17 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.3939, allocations: 1.56 MB / 1.329 GB, free: 10.53 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.3943, allocations: 0.7002 MB / 1.33 GB, free: 9.801 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.634e-05/0.3943, allocations: 4 kB / 1.33 GB, free: 9.797 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.688e-05/0.3944, allocations: 31.42 kB / 1.33 GB, free: 9.766 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.3944, allocations: 0 / 1.33 GB, free: 9.766 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/0.4194, allocations: 2.203 MB / 1.332 GB, free: 7.77 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.227/8.646, allocations: 7.875 kB / 1.332 GB, free: 7.762 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_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_BaseClasses_Validation_PIDIntegralTime.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.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.643340771086514]